# HG changeset patch # User Boris Feld # Date 2018-07-16 14:46:32 # Node ID 70a4289896b07b0337af5812aaa2595f1d6129a6 # Parent 240ebbd328e0765140e965cebe0f86618b432e6a revset: add larger test for heads(ancestors(…)) It is important to not regress on this benchmark so we move it into the "base" file. And we add another benchmark with more than two revisions. diff --git a/contrib/all-revsets.txt b/contrib/all-revsets.txt --- a/contrib/all-revsets.txt +++ b/contrib/all-revsets.txt @@ -138,3 +138,4 @@ secret() # test finding common ancestors heads(commonancestors(last(head(), 2))) +heads(commonancestors(head())) diff --git a/contrib/base-revsets.txt b/contrib/base-revsets.txt --- a/contrib/base-revsets.txt +++ b/contrib/base-revsets.txt @@ -46,3 +46,4 @@ parents(20000) (20000::) - (20000) # The one below is used by rebase (children(ancestor(tip~5, tip)) and ::(tip~5)):: +heads(commonancestors(last(head(), 2)))