Rewriting changeset order on push/pull (keeping the history graph tidy)

Stanimir Stamenkov s7an10 at netscape.net
Sat Aug 18 15:02:46 UTC 2012


Tue, 14 Aug 2012 15:25:05 +0200, /Arne Babenhauserheide/:
> Am Montag, 13. August 2012, 23:39:01 schrieb Stanimir Stamenkov:
>> Mon, 13 Aug 2012 21:57:11 +0200, /Arne Babenhauserheide/:
>>
>>> If you don’t need the merges, you can do it like this:
>>>       hg log -r "all() - merge()" -G
>>
>> Would it be possible to hide just intermediate merges from:
>
> How would you define “intermediate merge”?
>
> Just show the last merge?
>
> And why do you need the final merge? It’s a regular merge like all the others,
> too.

I need all "final" merges present to have a continuous graph.  I 
don't need just the last merge.

With my initial example I would define "intermediate merge" as:

   Merge changeset which has a parent with two children.

May be this is just a subset of:

   Merge changeset which has a parent with more than one child.

Could this be expressed using revsets?

> PS: I just turned my email into a blog bost, too:
>
> http://draketo.de/light/english/mercurial/creating-nice-logs-revsets

-- 
Stanimir



More information about the Mercurial mailing list