revset: add larger test for heads(ancestors(…))
authorBoris Feld <boris.feld@octobus.net>
Mon, 16 Jul 2018 16:46:32 +0200
changeset 38712 70a4289896b0
parent 38711 240ebbd328e0
child 38713 27391d74aaa2
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.
contrib/all-revsets.txt
contrib/base-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()))
--- 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)))