bzr shell

Matthieu Moy Matthieu.Moy at imag.fr
Thu Oct 27 17:02:45 BST 2005


Aaron Bentley <aaron.bentley at utoronto.ca> writes:

> Okay, I've fixed that, got shell falling back to the system shell for
> complicated commandlines, 

bzr> inventory | wc
     60      60    1257

... impressive!

It could be interesting to add a "which" builtin command, that would
tell whether a command is a bzr command or a shell command.

To go further, you could allow a non-interactive mode to be able to
write scripts with "#!/path/to/bzr shell", for people who don't know
Python. Well, not sure this would be the best approach, but would be
funny ;-).

One more small bug: "ls" is currently broken in bzr, and "bzr shell"
seems to catch the exception as if the command didn't exist, and falls
back to /usr/bin/ls. I'd prefer an explicit error message in this
case.

-- 
Matthieu




More information about the bazaar mailing list