[PATCH 0 of 9] improvements for named branches
peter.arrenbrecht at gmail.com
Mon Mar 3 14:31:29 CST 2008
On Mon, Mar 3, 2008 at 6:04 PM, Jesse Glick <jesse.glick at sun.com> wrote:
> Matt Mackall wrote:
> > How do you unclose a branch?
> Possible alternative: consider a head to be closed iff it contains a
> file '.hgclosed' in the root dir (contents irrelevant, could be empty or
> contain an explanatory message). Simple to close or unclose a branch
> using hg add/rem, no extra metadata field needed, change takes effect
> with the commit. A branch would be closed if all its heads were closed.
Interesting idea. But wouldn't this slow the `hg branches` command
down quite a bit if there are lots of (open or closed) heads? It seems
to me hg would have to retrieve the manifest for each head.
More information about the Mercurial-devel