comparison contrib/base-revsets.txt @ 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 70a4289896b0
children d4ba4d51f85f
comparison
equal deleted inserted replaced
42139:08481e11462e 42140:a4483e380c3e
45 parents(20000) 45 parents(20000)
46 (20000::) - (20000) 46 (20000::) - (20000)
47 # The one below is used by rebase 47 # The one below is used by rebase
48 (children(ancestor(tip~5, tip)) and ::(tip~5)):: 48 (children(ancestor(tip~5, tip)) and ::(tip~5))::
49 heads(commonancestors(last(head(), 2))) 49 heads(commonancestors(last(head(), 2)))
50 heads(-10000:-1)
51 roots(-10000:-1)
52 only(max(head()), min(head()))