What is the purpose of `rmbranch` command?

Jelmer Vernooij jelmer at vernstok.nl
Tue May 15 22:04:47 UTC 2012


Hi Alexander,

On Tue, May 15, 2012 at 06:20:12PM +0300, Alexander Belchenko wrote:
> I thought `rmbranch` should delete a branch from remote server.

> It does delete branch (e.g. from shared repository) but leaves .bzr
> control directory there intact.
Right, it just deletes the branch, not the control directory.

> According to `rmbranch` help it should keep any working tree or
> repository in place. OK, that's good.

> But if there is neither working tree nor repository, why don't
> delete an empty control directory?
A control directory can have multiple branches. rmbranch is useful
mostly for colocated branches.

I don't think having a separate command for removing a control
directory would be particularly useful - it's already possible to just
remove the directory using e.g. the shell.

Cheers,

Jelmer



More information about the bazaar mailing list