--- a/bench.py Fri Dec 09 13:57:24 2016 +0800
+++ b/bench.py Fri Dec 09 14:03:55 2016 +0800
def guessnew(maxrevs, marks):
""" Pick one continuous span of nodes that still need testing. """
- cmd = [HG, 'log', '-R', TESTHGREPO, '-T', '{node}\n', '-r', 'sort(all(), rev)']
- output = check_output(cmd)
+ output = check_output([
+ HG, 'log', '-R', TESTHGREPO, '-T', '{node}\n', '-r', 'sort(all(), rev)'
def guessspikes(maxrevs, marks):
- cmd = [HG, 'log', '-R', TESTHGREPO, '-T', '{node}\n', '-r', 'sort(all(), -rev)']
- output = check_output(cmd)
+ output = check_output([
+ HG, 'log', '-R', TESTHGREPO, '-T', '{node}\n', '-r', 'sort(all(), -rev)'
conn = sqlite3.connect(DBPATH)