best way to add unknowns from the command line?

Aaron Bentley aaron at aaronbentley.com
Fri Mar 23 14:19:33 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12-03-23 03:39 AM, David Ingamells wrote:
> Now if there were similar options/commands to also support all the
> other states reported by "bzr status"  it really would be great!
> Are there?

There aren't.  I think we agree that it would be nice to add them as
options to "bzr status", but no one has.

However, it's pretty easy to use status --short and then filter based
on the prefix.

Here's a script that will list all the files that are new/modified
compared to the submit branch, for example:

$ bzr status --no-pending -r :submit|sed -e 's/.[^NM]*//' -re 's/^..//'

It's a tremendous pain that someone made status display a count of
shelves, and provided no way of turning that display off.  As a
scripter, it interferes with writing useful scripts.  As a user, I
don't care how many shelves I have.  I usually have lots.  I certainly
don't want to hear about it when I run "status".

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9shnUACgkQ0F+nu1YWqI0GGgCfZOaLT7TV8mFOnCEEzJeutYEO
Hb8AnAgIlgqiD/eAgFG7e2WnQdGsFEZ6
=C8ZD
-----END PGP SIGNATURE-----



More information about the bazaar mailing list