revsetbenchmark: add some simpler revset for heads and roots
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 04 Apr 2019 13:46:49 +0200
changeset 42140 a4483e380c3e
parent 42139 08481e11462e
child 42141 0e41f40b01cc
revsetbenchmark: add some simpler revset for heads and roots This revset might leverage compiled code in the future so lets start to track them.
contrib/base-revsets.txt
--- a/contrib/base-revsets.txt	Fri Apr 12 16:25:59 2019 +0200
+++ b/contrib/base-revsets.txt	Thu Apr 04 13:46:49 2019 +0200
@@ -47,3 +47,6 @@
 # The one below is used by rebase
 (children(ancestor(tip~5, tip)) and ::(tip~5))::
 heads(commonancestors(last(head(), 2)))
+heads(-10000:-1)
+roots(-10000:-1)
+only(max(head()), min(head()))