Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.