RFC: dealing with dead, anonymous feature branches

Martin Geisler mg at aragost.com
Fri Jun 4 02:19:23 CDT 2010


Peter Arrenbrecht <peter.arrenbrecht at gmail.com> writes:

> On Thu, Jun 3, 2010 at 2:36 PM, Rafael Fernández López
> <ereslibre at kde.org> wrote:
>> ...
>> This would be capable (being run on the remote) of removing all kind
>> of branches (named and unnamed), having a very similar git behavior.
>> We have to take into account the "genie is out of the bottle" problem,
>> but in theory this is going to be done in personal repositories before
>> they get merged upstream, so I believe this is not a problem.
>
> Well, I think one of the neat things about the dead heads is that they
> can actually propagate to those who need to them to prevent further
> proliferation of dead branches. It exactly addresses the genie
> problem.

Exactly -- simply deleting a branch is not hard in itself and we can
already do this via 'hg strip' or 'hg clone -r' as you describe.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial-devel mailing list