view contrib/revsetbenchmarks.txt @ 25607:ddb2a648fdbd

revsetbenchmarks: add main documention for the script This allow us to document the fact we can use comment in the file listing revsets.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 16 Jun 2015 20:24:37 -0700
parents 34d8d4930c88
children
line wrap: on
line source

all()
draft()
::tip
draft() and ::tip
::tip and draft()
0::tip
roots(0::tip)
author(lmoscovicz)
author(mpm)
author(lmoscovicz) or author(mpm)
author(mpm) or author(lmoscovicz)
tip:0
0::
# those two `roots(...)` inputs are close to what phase movement use.
roots((tip~100::) - (tip~100::tip))
roots((0::) - (0::tip))
42:68 and roots(42:tip)
::p1(p1(tip))::
public()
:10000 and public()
draft()
:10000 and draft()
roots((0:tip)::)
(not public() - obsolete())
(_intlist('20000\x0020001')) and merge()
parents(20000)
(20000::) - (20000)
# The one below is used by rebase
(children(ancestor(tip~5, tip)) and ::(tip~5))::