##// END OF EJS Templates
revsetbenchmark: allow comments ('#' prefix) in the revset input
Pierre-Yves David -
r22556:480a24ad default
parent child Browse files
Show More
@@ -94,7 +94,7 b' revsetsfile = sys.stdin'
94 if options.file:
94 if options.file:
95 revsetsfile = open(options.file)
95 revsetsfile = open(options.file)
96
96
97 revsets = [l.strip() for l in revsetsfile]
97 revsets = [l.strip() for l in revsetsfile if not l.startswith('#')]
98
98
99 print "Revsets to benchmark"
99 print "Revsets to benchmark"
100 print "----------------------------"
100 print "----------------------------"
@@ -14,7 +14,9 b' max(tip:0)'
14 min(0:tip)
14 min(0:tip)
15 0::
15 0::
16 min(0::)
16 min(0::)
17 # those two `roots(...)` inputs are close to what phase movement use.
17 roots((tip~100::) - (tip~100::tip))
18 roots((tip~100::) - (tip~100::tip))
19 roots((0::) - (0::tip))
18 ::p1(p1(tip))::
20 ::p1(p1(tip))::
19 public()
21 public()
20 :10000 and public()
22 :10000 and public()
@@ -23,7 +25,6 b' draft()'
23 max(::(tip~20) - obsolete())
25 max(::(tip~20) - obsolete())
24 roots((0:tip)::)
26 roots((0:tip)::)
25 (not public() - obsolete())
27 (not public() - obsolete())
26 roots((0::) - (0::tip))
27 (_intlist('20000\x0020001')) and merge()
28 (_intlist('20000\x0020001')) and merge()
28 parents(20000)
29 parents(20000)
29 (20000::) - (20000)
30 (20000::) - (20000)
General Comments 0
You need to be logged in to leave comments. Login now