##// END OF EJS Templates
graphlog: escape log -G single value option arguments
Patrick Mezard -
r14083:2520ebfd default
parent child Browse files
Show More
@@ -239,7 +239,7 b' def revset(pats, opts):'
239 if op in ('follow', 'only_merges', 'no_merges', 'removed'):
239 if op in ('follow', 'only_merges', 'no_merges', 'removed'):
240 revset.append('%s' % revop)
240 revset.append('%s' % revop)
241 elif op in ('date',):
241 elif op in ('date',):
242 revset.append('%s(%s)' % (revop, val))
242 revset.append('%s(%r)' % (revop, val))
243 elif op in ('include', 'exclude', 'user', 'branch', 'keyword',
243 elif op in ('include', 'exclude', 'user', 'branch', 'keyword',
244 'prune', 'only_branch'):
244 'prune', 'only_branch'):
245 for f in val:
245 for f in val:
@@ -1413,4 +1413,6 b' Test log -G options'
1413 \s*28 (re)
1413 \s*28 (re)
1414 $ hg log -G --no-merges --template 'nodetag {rev}\n' | grep nodetag | wc -l
1414 $ hg log -G --no-merges --template 'nodetag {rev}\n' | grep nodetag | wc -l
1415 \s*9 (re)
1415 \s*9 (re)
1416
1416 $ hg log -G -d 'brace ) in a date'
1417 abort: invalid date: 'brace ) in a date'
1418 [255]
General Comments 0
You need to be logged in to leave comments. Login now