##// 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 257 'branch': ('branch($)', ' or '),
258 258 'exclude': ('not file($)', ' and '),
259 259 'include': ('file($)', ' and '),
260 'keyword': ('keyword($)', ' and '),
260 'keyword': ('keyword($)', ' or '),
261 261 'only_branch': ('branch($)', ' and '),
262 262 'prune': ('not ($ or ancestors($))', ' and '),
263 263 'user': ('user($)', ' or '),
@@ -1435,8 +1435,8 b' Test log -G options'
1435 1435 abort: unknown revision 'not-a-branch'!
1436 1436 $ testlog -b default -b branch
1437 1437 ('group', ('group', ('or', ('func', ('symbol', 'branch'), ('string', 'default')), ('func', ('symbol', 'branch'), ('string', 'branch')))))
1438 $ hg log -G --print-revset -k 'something' -k 'nice'
1439 ('group', ('group', ('and', ('func', ('symbol', 'keyword'), ('string', 'something')), ('func', ('symbol', 'keyword'), ('string', 'nice')))))
1438 $ testlog -k expand -k merge
1439 ('group', ('group', ('or', ('func', ('symbol', 'keyword'), ('string', 'expand')), ('func', ('symbol', 'keyword'), ('string', 'merge')))))
1440 1440 $ hg log -G --only-branch 'something nice'
1441 1441 abort: unknown revision 'something nice'!
1442 1442 [255]
General Comments 0
You need to be logged in to leave comments. Login now