[PATCH stable] revsets: add branchpoint() function
John Peberdy
johnpeb at gmail.com
Sun Aug 12 17:55:15 UTC 2012
On Sun, Aug 12, 2012 at 1:12 PM, Patrick Mézard <patrick at mezard.eu> wrote:
> Le 09/08/12 16:54, Ivan Andrus a écrit :
>> # HG changeset patch
>> # User Ivan Andrus <darthandrus at gmail.com>
>> # Date 1344524011 -7200
>> # Branch stable
>> # Node ID c56d6699b2fead4fd9b294216baa89112ce65c91
>> # Parent 96189d60d810317ef8f707ec3ab123a9beb288cd
>> revsets: add branchpoint() function
>>
>> The branchpoint() function returns changesets with more than one child.
>> Eventually I would like to be able to see only branch points and merge
>> points in a graphical log to see the topology of the repository.
>
> I am +0 on the feature, running the previous command on mercurial repository does not seem very useful and I do not have a branchy repository where I would know the code base enough to make sense of this.
+1 for this feature - it would be useful for implementing graph log
layout in non-python tools for the cases where parents invocations
aren't sufficient.
>
>> +
>> def minrev(repo, subset, x):
>> """``min(set)``
>> Changeset with lowest revision number in set.
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
--
John Peberdy
More information about the Mercurial-devel
mailing list