Deleting a branch from a repository

Stefan Monnier monnier at iro.umontreal.ca
Wed May 20 04:28:07 BST 2009


> It appears that it is impossible to delete a branch from a repository.
> I.e., there's no way to gc a repository and have all unreferenced
> storage reclaimed.

Actually, there is: you just need to do a "stop&copy".
Just that the copy needs to be done with "bzr clone" rather than with
"cp" and that I don't know of a standard tool to do that for you (so
you need to setup the "to" repository by hand and manually find&copy
each branch in your "from" to your "to").


        Stefan




More information about the bazaar mailing list