##// END OF EJS Templates
revset: use `subset &` in `bookmark`...
Pierre-Yves David -
r22530:faf4f635 default
parent child Browse files
Show More
@@ -468,7 +468,7 b' def bookmark(repo, subset, x):'
468 bms = set([repo[r].rev()
468 bms = set([repo[r].rev()
469 for r in repo._bookmarks.values()])
469 for r in repo._bookmarks.values()])
470 bms -= set([node.nullrev])
470 bms -= set([node.nullrev])
471 return subset.filter(bms.__contains__)
471 return subset & bms
472
472
473 def branch(repo, subset, x):
473 def branch(repo, subset, x):
474 """``branch(string or set)``
474 """``branch(string or set)``
General Comments 0
You need to be logged in to leave comments. Login now