Adding and subsequently removing a branch increases shared repository size (needs garbage collection).
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.
There is a bzr-gc plugin (ymmv). It would be good to have this as a builtin which is bug 54870