Is it possible to delete a branch from repository?

Colin D Bennett colin at
Tue May 19 05:22:37 BST 2009

Talden wrote on Monday 18 May 2009:
> >> I'm not sure if there's a better way but I think you can achieve this
> >> with something like
> >> 1. Create new repo
> >> 2. branch each branch you want to keep from the existing repo into the
> >> new. 3. move the new repo into place to replace the old.
> >
> > Of course, then your push branch, parent branch, and submit branch
> > references for each branch are lost.
> Well I wasn't suggesting you move the branches... just move the new
> .bzr of the repo in place of the old .bzr.
> All of the push/parent/submit stuff is in the branch.conf right?
> Whether that's bullet-proof or not I don't know.

I didn't think of mixing and matching the .bzr directories like that... I 
would be scared since I am fairly ignorant of how shared repo storage works.


More information about the bazaar mailing list