##// 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 all()
18 all()
2 draft()
19 draft()
3 ::tip
20 ::tip
4 draft() and ::tip
21 draft() and ::tip
5 ::tip and draft()
22 ::tip and draft()
6 0::tip
23 0::tip
7 roots(0::tip)
24 roots(0::tip)
8 author(lmoscovicz)
25 author(lmoscovicz)
9 author(mpm)
26 author(mpm)
10 author(lmoscovicz) or author(mpm)
27 author(lmoscovicz) or author(mpm)
11 author(mpm) or author(lmoscovicz)
28 author(mpm) or author(lmoscovicz)
12 tip:0
29 tip:0
13 0::
30 0::
14 # those two `roots(...)` inputs are close to what phase movement use.
31 # those two `roots(...)` inputs are close to what phase movement use.
15 roots((tip~100::) - (tip~100::tip))
32 roots((tip~100::) - (tip~100::tip))
16 roots((0::) - (0::tip))
33 roots((0::) - (0::tip))
17 42:68 and roots(42:tip)
34 42:68 and roots(42:tip)
18 ::p1(p1(tip))::
35 ::p1(p1(tip))::
19 public()
36 public()
20 :10000 and public()
37 :10000 and public()
21 draft()
38 draft()
22 :10000 and draft()
39 :10000 and draft()
23 roots((0:tip)::)
40 roots((0:tip)::)
24 (not public() - obsolete())
41 (not public() - obsolete())
25 (_intlist('20000\x0020001')) and merge()
42 (_intlist('20000\x0020001')) and merge()
26 parents(20000)
43 parents(20000)
27 (20000::) - (20000)
44 (20000::) - (20000)
28 # The one below is used by rebase
45 # The one below is used by rebase
29 (children(ancestor(tip~5, tip)) and ::(tip~5))::
46 (children(ancestor(tip~5, tip)) and ::(tip~5))::
General Comments 0
You need to be logged in to leave comments. Login now