List of uncommits

John Arbash Meinel john at
Mon May 7 18:44:28 UTC 2012

Hash: SHA1

On 5/7/2012 12:15 PM, Chris McCormick wrote:
> On 05/07/2012 06:15 PM, Alexander Belchenko wrote:
>> Chris McCormick пишет:
>>> Through a series of deeply foolish command line invocations I
>>> managed to uncommit on a bound branch and then pressed ^C just
>>> after it had finished uncommitting on the remote bound
>>> repository successfully. I then pulled the uncommit from the
>>> remote which worked fine. Basically I now want to re-commit but
>>> because I ^C'ed out I don't know the revision id that I should
>>> recommit with. How can I find this out? Any way to list the
>>> uncommitted revisions?
>> bzr heads --dead
> Brilliant! Thank you so much.
> I think it would be appropriate if that was written on this page
> somewhere: 
>  Cheers,
> Chris.

Note that when you do 'bzr uncommit' it prints out the revision id of
the tip that you just moved from, and logs that revision into .bzr.log
as well. That is the line:


You can restore the old tip by running:
  bzr pull . -r
revid:john at

Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla -


More information about the bazaar mailing list