Revision of the tree after "revert -r"

John Arbash Meinel john at arbash-meinel.com
Mon Apr 5 17:03:01 BST 2010


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

Eli Zaretskii wrote:
> What is the command to show the revision of the files I have after
> doing a "bzr revert -rNNNNN" to revert to some older revision?  Every
> command I tried (including "version-info" and "revno --tree") shows me
> the last revision I have in the repository, which is not what I want.
> What am I missing?
> 
> TIA
> 
> 

You probably want to use "bzr update -r" to set the version of the tree,
rather than "bzr revert -r". Revert changes the contents, but leaves the
"last revision" of the file where it was. (So that stuff like commit
will say "and now this 'new content' supersedes that last value.)

John
=:->

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

iEYEARECAAYFAku6CbUACgkQJdeBCYSNAAPXbQCeNDTT51RoNPS8j72lL+BCvgeG
xSQAn2n/K2WpxnS6+87a4UX7SlnZQFmv
=HYnA
-----END PGP SIGNATURE-----



More information about the bazaar mailing list