new status output
Martin Pool
martinpool at gmail.com
Wed Oct 26 01:39:39 BST 2005
On 25/10/05, James Blackwell <jblack at merconline.com>
> > # whished
> > $ bzr status
> > unknown:
> > bar
> > foo
> > $ bzr status --unknown | xargs bzr add
>
> I dislike this format. Its difficult to progmatically parse without a state engine.
Because of the headings?
I'd prefer 'bzr ls --unknowns' to give just the filenames in the
specified class, suitable for scripting.
> Btw, you'll get in trouble with xargs in that one if there's any filenames
> with spaces. For what you're trying there, how about bzr add "*" ?
If you just want to add all unknown files, then "bzr add" will do it,
and "bzr add DIR" will add everything below a directory.
--
Martin
More information about the bazaar
mailing list