##// END OF EJS Templates
contrib: rename revsetbenchmarks.txt to 'base-revsets.txt'...
Pierre-Yves David -
r25608:2fea23d0 default
parent child Browse files
Show More
@@ -1,29 +1,46 b''
1 # Base Revsets to be used with revsetbenchmarks.py script
2 #
3 # The goal of this file is to gather a limited amount of revsets that allow a
4 # good coverage of the internal revsets mechanisms. Revsets included should not
5 # be selected for their individual implementation, but for what they reveal of
6 # the internal implementation of smartsets classes (and their interactions).
7 #
8 # Use and update this file when you change internal implementation of these
9 # smartsets classes. Please include a comment explaining what each of your
10 # addition is testing. Also check if your changes to the smartset class makes
11 # some of the tests inadequate and replace them with a new one testing the same
12 # behavior.
13 #
14 # The current content of this file is currently likely not reaching this goal
15 # entirely, feel free, to audit its content and comment on each revset to
16 # highlight what internal mechanisms they test.
17
1 18 all()
2 19 draft()
3 20 ::tip
4 21 draft() and ::tip
5 22 ::tip and draft()
6 23 0::tip
7 24 roots(0::tip)
8 25 author(lmoscovicz)
9 26 author(mpm)
10 27 author(lmoscovicz) or author(mpm)
11 28 author(mpm) or author(lmoscovicz)
12 29 tip:0
13 30 0::
14 31 # those two `roots(...)` inputs are close to what phase movement use.
15 32 roots((tip~100::) - (tip~100::tip))
16 33 roots((0::) - (0::tip))
17 34 42:68 and roots(42:tip)
18 35 ::p1(p1(tip))::
19 36 public()
20 37 :10000 and public()
21 38 draft()
22 39 :10000 and draft()
23 40 roots((0:tip)::)
24 41 (not public() - obsolete())
25 42 (_intlist('20000\x0020001')) and merge()
26 43 parents(20000)
27 44 (20000::) - (20000)
28 45 # The one below is used by rebase
29 46 (children(ancestor(tip~5, tip)) and ::(tip~5))::
General Comments 0
You need to be logged in to leave comments. Login now