# HG changeset patch # User Boris Feld # Date 1531752392 -7200 # 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 -r 240ebbd328e0 -r 70a4289896b0 contrib/all-revsets.txt --- a/contrib/all-revsets.txt Mon Jul 16 16:43:35 2018 +0200 +++ b/contrib/all-revsets.txt Mon Jul 16 16:46:32 2018 +0200 @@ -138,3 +138,4 @@ # test finding common ancestors heads(commonancestors(last(head(), 2))) +heads(commonancestors(head())) diff -r 240ebbd328e0 -r 70a4289896b0 contrib/base-revsets.txt --- a/contrib/base-revsets.txt Mon Jul 16 16:43:35 2018 +0200 +++ b/contrib/base-revsets.txt Mon Jul 16 16:46:32 2018 +0200 @@ -46,3 +46,4 @@ (20000::) - (20000) # The one below is used by rebase (children(ancestor(tip~5, tip)) and ::(tip~5)):: +heads(commonancestors(last(head(), 2)))