Show More
@@ -78,7 +78,7 b' class bmstore(object):' | |||
|
78 | 78 | self._nodemap = nodemap = {} # node: sorted([refspec, ...]) |
|
79 | 79 | self._clean = True |
|
80 | 80 | self._aclean = True |
|
81 |
|
|
|
81 | has_node = repo.changelog.index.has_node | |
|
82 | 82 | tonode = bin # force local lookup |
|
83 | 83 | try: |
|
84 | 84 | with _getbkfile(repo) as bkfile: |
@@ -89,7 +89,7 b' class bmstore(object):' | |||
|
89 | 89 | try: |
|
90 | 90 | sha, refspec = line.split(b' ', 1) |
|
91 | 91 | node = tonode(sha) |
|
92 |
if node |
|
|
92 | if has_node(node): | |
|
93 | 93 | refspec = encoding.tolocal(refspec) |
|
94 | 94 | refmap[refspec] = node |
|
95 | 95 | nrefs = nodemap.get(node) |
General Comments 0
You need to be logged in to leave comments.
Login now