Small update for 'bzr missing'

John Arbash Meinel john at arbash-meinel.com
Tue May 20 19:30:21 BST 2008


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

I just wanted to make it public knowledge.

The current 'bzr missing' code will return status 1 if there are any new
revisions on either side. Even if you supply --mine-only or --theirs-only (or
- --this, --other).

The new code I introduced no longer computes if the other side has revisions
when you supply the flag, so I can't preserve this behavior. Further, it seemed
broken to me. 'bzr missing --this' should return 0 if this branch doesn't have
any new revisions. So that is what I did.

It also now outputs:

~  This branch is up to date.

Or

~  Other branch is up to date.

I could keep the existing behavior of not printing anything. There may be
scripts that worked around the status code by expecting no output.


I did put this in the API BREAKS section, though it is technically a command
line interface break.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgzGL0ACgkQJdeBCYSNAAPyvQCdH4RrnYIlZbSN/dKZGbAXOP6L
xXYAn3d+uOoniBRbO7lDAPXan3P8hgbm
=WSZP
-----END PGP SIGNATURE-----



More information about the bazaar mailing list