changeset 22500:171015d3b30c

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.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Wed, 17 Sep 2014 19:56:59 -0700
parents 8c9f9e346acc
children bde49bbfb30f
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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):