# HG changeset patch # User Pierre-Yves David # Date 1411009019 25200 # 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 -r 8c9f9e346acc -r 171015d3b30c mercurial/revset.py --- a/mercurial/revset.py Wed Sep 17 10:58:25 2014 -0700 +++ b/mercurial/revset.py Wed Sep 17 19:56:59 2014 -0700 @@ -467,6 +467,7 @@ 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):