Adding and subsequently removing a branch increases shared repository size (needs garbage collection).

Bug #574021 reported by Pim Schellart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Use of feature branches is recommended for many projects using bazaar.
To save storage space one can use a shared repository.
While this is nice, there is one major (for me at least) problem with the current setup.
If one creates a new branch to implement a new feature or test something experimental and subsequently (after possibly merging the branch back into the mainline) deletes it when it becomes obsolete the data stays in the shared repository.
When the repository is big this increases the size of the shared repo dramatically (up to 500M in my case) for each branch created.
This data needs to be garbage collected, preferably automatically but optionally using a command like `bzr gc'.

I understand this might not be a bug but a design decision, if this is the case please remove this bugreport.

Revision history for this message
Martin Pool (mbp) wrote :

There is a bzr-gc plugin (ymmv). It would be good to have this as a builtin which is bug 54870

Revision history for this message
Samuel Bronson (naesten) wrote :

Where might this bzr-gc plugin be found?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.