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.

A shared repository in Bazaar stores all the revisions of all the branches. If you delete a branch that had some unique revisions in it, those revisions will still remain in the repository, and visible by the bzr heads --dead-only command (from the bzrtools plugin).

How to delete these revisions from the shared repository?

Or, how to delete branches in a way that their unique revisions will be cleaned up from the shared repository?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

The only way to end up with a shared repository that does not contain these revisions is to create a new repository, and branch all the branches that you wish to keep into it.

Deleting revisions is not considered a safe operation because there may be some branch that Bazaar does not know about that depends on them.

share|improve this answer
add comment

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.