How can I tell which revision number I am currently compiling/linking (is there a "canonical" name for this revno?), in a bzr
repo on which I have performed bzr revert -rN
?
I remember some time ago finding a python script that obtained this info, but I cannot find it now.
Note:
http://doc.bazaar.canonical.com/development/en/user-reference/update-help.html is an old question, and the answer involves the use of bzr update
.
I am not sure if it worked, and if it works now.
But the script I mention did not involve update
(if so, it was under the hood).