Return code of bzr missing --this/--other ?

Matt Nordhoff mnordhoff at mattnordhoff.com
Tue Jul 22 13:21:04 BST 2008


Rached Ben Mustapha wrote:
> Hello,
> 
> I was trying to use bzr missing --this and --other in a shell script
> to automate some merging for non-tech users, and noticed that missing
> --this returned with exit code 1, even if we only have extra revisions
> on the local side. The missing command returns 1 if there are missing
> revisions in any direction, not only in the direction the user asked
> for.
> 
> This is a bit annoying, as it makes scripting difficult, and I thought
> writing a plugin for our workflow would be overkill :-).
> 
> I didn't find a bugs.launchpad.net entry for this. I'm willing to cook
> a test/patch, but first I'd like to be sure that it's not intended
> behaviour.
> 
> Thanks,
> 
> Rached

This was fixed in Bazaar 1.6b1.



More information about the bazaar mailing list