--- a/bench.py Mon Jul 18 18:47:26 2016 +0800
+++ b/bench.py Mon Jul 18 18:53:20 2016 +0800
cmd = [rel(TESTHGREPO, 'hg'), '-R', TESTREPO]
+ filename = rel(TESTREPO, 'README')
- cmd += ['blame', rel(TESTREPO, 'README')]
+ cmd += ['blame', filename]
- cmd += ['grep', '--all', 'version', rel(TESTREPO, 'README')]
+ cmd += ['grep', '--all', 'version', filename]
- cmd += ['grep', '--all', '--follow', 'version', rel(TESTREPO, 'README')]
+ cmd += ['grep', '--all', '--follow', 'version', filename]
- cmd += ['status', '--copies', rel(TESTREPO, 'README')]
+ cmd += ['status', '--copies', filename]
- cmd += ['diff', '-r', 'tip~100:tip', rel(TESTREPO, 'README')]
+ cmd += ['diff', '-r', 'tip~100:tip', filename]
- cmd += ['diff', '-r', 'tip~100:tip', '--git', rel(TESTREPO, 'README')]
+ cmd += ['diff', '-r', 'tip~100:tip', '--git', filename]
- cmd += ['log', rel(TESTREPO, 'README')]
+ cmd += ['log', filename]
elif mark == 'logfilecp':
- cmd += ['log', '--copies', rel(TESTREPO, 'README')]
+ cmd += ['log', '--copies', filename]