# HG changeset patch # User Pierre-Yves David # Date 2014-09-18 02:56:59 # Node ID 171015d3b30c986d0d172fc9db816baaa466d224 # Parent 8c9f9e346acca8f49f04f39ca4003a4441a9f5ad revset: remove nullrev from the bookmark computation Same as for other revset we sanitize the content of the set to be able to rely on it more. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -467,6 +467,7 @@ def bookmark(repo, subset, x): else: bms = set([repo[r].rev() for r in repo._bookmarks.values()]) + bms -= set([node.nullrev]) return subset.filter(bms.__contains__) def branch(repo, subset, x):