88:3bf161cb8471
Anton Shestakov <av6@dwimlabs.net>, 2016-12-09
bench: split wip revset line

next change 89:ba255edcbb21
previous change 83:ad889ea48249

bench.py

Other formats: Feeds:
Inserted Replaced Deleted
87:3aacb4bd173a 88:3bf161cb8471
from subprocess import check_output, CalledProcessError, STDOUT from subprocess import check_output, CalledProcessError, STDOUT
from settings import DBPATH, HG, LOCKFILE, TESTHGREPO, TESTREPO, rel from settings import DBPATH, HG, LOCKFILE, TESTHGREPO, TESTREPO, rel
REVSETWIP = '(parents(not public()) or not public() or . or (head() and branch(default))) and (not obsolete() or unstable()^) and not closed()' REVSETWIP = (
'(parents(not public())'
' or not public()'
' or .'
' or (head() and branch(default)))'
' and (not obsolete() or unstable()^)'
' and not closed()'
)
MARKS = OrderedDict(( MARKS = OrderedDict((
('blame', 'hg blame README'), ('blame', 'hg blame README'),
('grepall', 'hg grep "version" --all README'), ('grepall', 'hg grep "version" --all README'),
('grepallf', 'hg grep "version" --all --follow README'), ('grepallf', 'hg grep "version" --all --follow README'),
('diff', 'hg diff -r "tip~100:tip" README'), ('diff', 'hg diff -r "tip~100:tip" README'),