##// 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 94 if options.file:
95 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 99 print "Revsets to benchmark"
100 100 print "----------------------------"
@@ -14,7 +14,9 b' max(tip:0)'
14 14 min(0:tip)
15 15 0::
16 16 min(0::)
17 # those two `roots(...)` inputs are close to what phase movement use.
17 18 roots((tip~100::) - (tip~100::tip))
19 roots((0::) - (0::tip))
18 20 ::p1(p1(tip))::
19 21 public()
20 22 :10000 and public()
@@ -23,7 +25,6 b' draft()'
23 25 max(::(tip~20) - obsolete())
24 26 roots((0:tip)::)
25 27 (not public() - obsolete())
26 roots((0::) - (0::tip))
27 28 (_intlist('20000\x0020001')) and merge()
28 29 parents(20000)
29 30 (20000::) - (20000)
General Comments 0
You need to be logged in to leave comments. Login now