##// END OF EJS Templates
graphlog: multiple --keyword must be or'ed
Patrick Mezard -
r16150:0424f3c7 default
parent child Browse files
Show More
@@ -257,7 +257,7 b' def revset(pats, opts):'
257 'branch': ('branch($)', ' or '),
257 'branch': ('branch($)', ' or '),
258 'exclude': ('not file($)', ' and '),
258 'exclude': ('not file($)', ' and '),
259 'include': ('file($)', ' and '),
259 'include': ('file($)', ' and '),
260 'keyword': ('keyword($)', ' and '),
260 'keyword': ('keyword($)', ' or '),
261 'only_branch': ('branch($)', ' and '),
261 'only_branch': ('branch($)', ' and '),
262 'prune': ('not ($ or ancestors($))', ' and '),
262 'prune': ('not ($ or ancestors($))', ' and '),
263 'user': ('user($)', ' or '),
263 'user': ('user($)', ' or '),
@@ -1435,8 +1435,8 b' Test log -G options'
1435 abort: unknown revision 'not-a-branch'!
1435 abort: unknown revision 'not-a-branch'!
1436 $ testlog -b default -b branch
1436 $ testlog -b default -b branch
1437 ('group', ('group', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch')))))
1437 ('group', ('group', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch')))))
1438 $ hg log -G --print-revset -k 'something' -k 'nice'
1438 $ testlog -k expand -k merge
1439 ('group', ('group', ('and', ('func', ('symbol', 'keyword'), ('string', 'something')), ('func', ('symbol', 'keyword'), ('string', 'nice')))))
1439 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge')))))
1440 $ hg log -G --only-branch 'something nice'
1440 $ hg log -G --only-branch 'something nice'
1441 abort: unknown revision 'something nice'!
1441 abort: unknown revision 'something nice'!
1442 [255]
1442 [255]
General Comments 0
You need to be logged in to leave comments. Login now