[PATCH 0 of 9] improvements for named branches

Adrian Buehlmann adrian at cadifra.com
Mon Mar 3 13:02:40 CST 2008


On 03.03.2008 00:59, Adrian Buehlmann wrote:
> On 02.03.2008 20:01, Alexis S. L. Carvalho wrote:
>> - branch closing (patches 5-9)
> 
> ...
> 
> Implementation wise, this could be kind of a filter. Maybe
> some versioned file containing a list of closed heads by
> revision id?
> 
> Maybe ".hgclosedheads"?
> 
> If ".hgclosedheads" is inexistent, all heads in the repo are
> open.

[responding to self]

..which doesn't work since committing a new entry in .hgclosedheads
creates a new head, which would in turn need to be closed again
(self referential problem).

We cannot refer by revision id to a head we are about to commit.

Jesse's approach here
http://selenic.com/pipermail/mercurial-devel/2008-March/005116.html
looks more promising.






More information about the Mercurial-devel mailing list