--- a/bench.py Thu May 07 13:23:14 2015 +0800
+++ b/bench.py Fri May 08 15:18:12 2015 +0800
('blame', 'hg blame README'),
+ ('grepall', 'hg grep "version" --all README'),
+ ('grepallf', 'hg grep "version" --all --follow README'),
('diff', 'hg diff -r "tip~100:tip" README'),
('diffg', 'hg diff -r "tip~100:tip" --git README'),
('stcp', 'hg status --copies README'),
cmd += ['blame', rel(TESTREPO, 'README')]
+ elif mark == 'grepall':
+ cmd += ['grep', '--all', 'version', rel(TESTREPO, 'README')]
+ elif mark == 'grepallf':
+ cmd += ['grep', '--all', '--follow', 'version', rel(TESTREPO, 'README')]
cmd += ['status', '--copies', rel(TESTREPO, 'README')]