new status output
James Blackwell
jblack at merconline.com
Tue Oct 25 08:35:52 BST 2005
On Wed, Oct 19, 2005 at 10:13:20AM +0200, Matthieu Moy wrote:
> Michael Ellerman <michael at ellerman.id.au> writes:
>
> > I'd like "bzr status --modified" (and so on), so rather than having to "scan"
> > for "M" or "modified" or whatever, I just run "bzr st --modified" and if I
> > get any output at all I know there's something changed.
>
> AOL
>
> # Real
> $ bzr status
> unknown:
> bar
> foo
> $ bzr add foo
> $ bzr add bar
>
> # 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.
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 "*" ?
More information about the bazaar
mailing list