revset-benchmark: use a generic revset to test `heads(commonancestors())`
authorBoris Feld <boris.feld@octobus.net>
Mon, 16 Jul 2018 16:43:35 +0200
changeset 38711 240ebbd328e0
parent 38710 4ac3c2078567
child 38712 70a4289896b0
revset-benchmark: use a generic revset to test `heads(commonancestors())` This allow to benchmark revset performance in other repositories than just the mercurial one.
contrib/all-revsets.txt
--- a/contrib/all-revsets.txt	Mon Jul 16 16:22:43 2018 +0200
+++ b/contrib/all-revsets.txt	Mon Jul 16 16:43:35 2018 +0200
@@ -137,4 +137,4 @@
 secret()
 
 # test finding common ancestors
-heads(commonancestors(46879 + ae7f))
+heads(commonancestors(last(head(), 2)))