LiquidHg via MQ

Martin Geisler mg at aragost.com
Wed May 4 07:13:07 UTC 2011


Arne Babenhauserheide <arne_bab at web.de> writes:

> On Tuesday 03 May 2011 23:21:49 Kevin Bullock wrote:
>
>> Sure thing :) I'm pleased with how the concept is shaping up; I'm
>> getting more and more eager to see some code that I can play with :)
>
> Same for me!

Make a clone of

  https://bitbucket.org/mg/abandoned-changesets/

and play with it!

This patch queue applies on f4ba92a7ab7a and it implements what was once
known as dead heads and which we began calling "archived" or "abandoned"
changesets at the sprint. Since we already have 'hg archive', I propose
'hg abandon' as a new command.

Changesets are abandoned by adding a new changeset with meta data about
what changesets to abandon. The abandoned changesets stay where they
are, expect that push and pull might transfer the changeset that
abandoned them. This happens if the remote repository already have some
of the abandoned changesets: if X holds the information about A, B, C
being abandoned, then you will pull in X if you already have one of the
three abandoned changesets. If you have none of them, then you wont get
X and so the information spreads as far as necessary, but no further.

Abandoned changesets are hidden from 'hg log' by default (implemented).
Other commands will need to be taught to do the same.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/



More information about the Mercurial mailing list