Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I do an uncommit, Bazaar gives me a revision id which I can use to retrieve the uncommitted revision, should I ever need it. If I don't write it down right after the uncommit, is there a way to find this revision id again?

Similarly, if I delete a branch from a shared repository, the unique revisions of the branch remain in the shared repository, but how can I find their revision ids?

Common in both of these cases is that the revisions are "unreachable", since they are not part of any branch.

share|improve this question
up vote 3 down vote accepted

There seems to be a solution in the bzrtools package with its "heads" subcommand.

  1. Install package bzrtools Install bzrtools. Then proceed to your project.

  2. Proceed to your project and enter:

     bzr heads --dead-only

(From here)

share|improve this answer
That's it, brilliant! Thanks! – janos Aug 11 '12 at 5:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.