[MERGE] 'bzr uncommit' shows revision ids in the log messages

John Arbash Meinel john at arbash-meinel.com
Thu Aug 14 17:06:35 BST 2008


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

This just changes "bzr uncommit" to set 'show_ids=True'. The premise is
that uncommit is one of those times where you may want to get back to
the revision_id you just got rid of.

It also mutters the revision id into .bzr.log in case you forgot about
it and need to come back later.

This is mostly a workaround to needing to use the "heads()" plugin to
get back to what you wanted.

I ran into this because I wanted to pqm-submit a branch of mine in
stages, so I uncommit, submit, let pqm run. And then pull and submit again.

I know we generally want to hide revision ids, but it does seem like
'uncommit' is going to be one of those times that if you want to revert
back, you have to go to revision_ids. (The other possibility is the
whole reflog idea, of saving the tip pointer of the branch after every
operation, which would give a place to *look* for possible revision ids.)

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

iEYEARECAAYFAkikWAsACgkQJdeBCYSNAAP6jQCeOO5lNz685Td2bzmBmLnjEmS7
DQ4AoKekfaHpeZuJb7tXBEPnn49xFF51
=sGVg
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: uncommit_ids.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20080814/3c40ece8/attachment.diff 


More information about the bazaar mailing list