[RFC] New feature: --batch to accept command sequences from stdin (or file)

John Arbash Meinel john at arbash-meinel.com
Fri Jun 23 01:52:47 BST 2006


Martin Pool wrote:
> On 22 Jun 2006, "Jari Aalto+mail.perl" <jari.aalto at cante.net> wrote:
>> I would if I knew python. That's why I asked someone could put --batch
>> to TODO list for wished features.
> 
> If none of the existing plugins will do the trick then feel free to file
> a wishlist bug on launchpad.
> 

Well, if it is just process spawn overhead, 'bzr shell' should do a very
good job. It basically puts you in a customized shell, which knows about
bzr commands. So you can do stuff like

'bzr shell'

> status
> log
> commit

Rather than doing all of those as

bzr status
bzr log
bzr commit

It also supports intelligent auto-completion (where possible).


My 'bzr service' plugin seems to work just fine with the latest bzr.dev.
While it has some security holes, from a functional perspective, it
seems to work pretty well.

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060622/e5ea8999/attachment.pgp 


More information about the bazaar mailing list