Show More
@@ -52,6 +52,7 b' class bmstore(dict):' | |||
|
52 | 52 | self._repo = repo |
|
53 | 53 | nm = repo.changelog.nodemap |
|
54 | 54 | tonode = bin # force local lookup |
|
55 | setitem = dict.__setitem__ | |
|
55 | 56 | try: |
|
56 | 57 | bkfile = _getbkfile(repo) |
|
57 | 58 | for line in bkfile: |
@@ -63,7 +64,7 b' class bmstore(dict):' | |||
|
63 | 64 | node = tonode(sha) |
|
64 | 65 | if node in nm: |
|
65 | 66 | refspec = encoding.tolocal(refspec) |
|
66 |
self |
|
|
67 | setitem(self, refspec, node) | |
|
67 | 68 | except (TypeError, ValueError): |
|
68 | 69 | # - bin(...) can raise TypeError |
|
69 | 70 | # - node in nm can raise ValueError for non-20-bytes entry |
General Comments 0
You need to be logged in to leave comments.
Login now