Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to properly remove a bazaar branch?

How to properly remove a bazaar branch from a repository?

What if I want to remove a branch completely, so it would be impossible to find if this branch existed?

I'm aware of the remove-branch command, but are there any alternatives?

like image 839
Igor Chubin Avatar asked Feb 19 '23 23:02

Igor Chubin


1 Answers

bzr remove-branch is the easiest way to remove a branch. If you can't use that command, can you mention why not?

You can also just remove the branch directory manually, e.g.: bzr rm -rf .bzr/branch. This will however skip several checks that bzr remove-branch will do.

like image 196
jelmer Avatar answered Mar 08 '23 01:03

jelmer