changeset 42140:a4483e380c3e

revsetbenchmark: add some simpler revset for heads and roots This revset might leverage compiled code in the future so lets start to track them.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 04 Apr 2019 13:46:49 +0200
parents 08481e11462e
children 0e41f40b01cc
files contrib/base-revsets.txt
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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()))