Closing the default branch?

John Mulligan phlogistonjohn at asynchrono.us
Sat Jan 17 09:29:11 CST 2009


On Friday 16 January 2009 8:44:30 pm Matt Mackall wrote:
> With the new branch-closing patches:
>
> $ hg ci --close-branch
> abort: closing the default branch is invalid
>
> Any special rationale for that?

Hmm. I think I had forgot about that. In the oldest version of the patch the 
code made the branch permanently vanish (this was before multiple head branch 
cache) from hg branches. Since this is obviously no longer the case I don't 
see any reason to special case default.

It's funny how I've over looked that patch every time I've resubmitted. That 
patch must have been changed the least.

Either I can re-submit, or if you want to you can just remove that. Please let 
me know.


More information about the Mercurial-devel mailing list