bzr log shows negative revision numbers

John Arbash Meinel john at arbash-meinel.com
Tue Feb 16 16:47:42 GMT 2010


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

Nicholas Allen wrote:
> Hi,
> 
> We have a branch where the revision numbers go into negative numbers.
> qlog does not show them as negative numbers only bzr log on the command
> line does.
> 
> How can a branch have negative revision numbers? This must be a bug right?
> 
> Nick
> 
> 

This would happen if the branch's cached revno is incorrect.

You can fix it with 'bzr reconcile', but IIRC there isn't a way to just
reconcile the branch without having it try to reconcile the repository.
I think we do the branch first, though, so after it says branch revno
fixed, you can probably stop the reconcile process.

The other option is that I think "bzr pull" (when actually updating the
branch tip) will fix the number.

John
=:->

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

iEYEARECAAYFAkt6zC4ACgkQJdeBCYSNAANTrQCfaGe5as7mIl14GVNAOUwPm9Yg
cSQAniUDoOBlZwvhAvSOEDf5iWnUGc4V
=XyZ8
-----END PGP SIGNATURE-----



More information about the bazaar mailing list