Show More
@@ -50,6 +50,7 b' class bmstore(dict):' | |||
|
50 | 50 | def __init__(self, repo): |
|
51 | 51 | dict.__init__(self) |
|
52 | 52 | self._repo = repo |
|
53 | lookup = repo.changelog.lookup | |
|
53 | 54 | try: |
|
54 | 55 | bkfile = _getbkfile(repo) |
|
55 | 56 | for line in bkfile: |
@@ -63,7 +64,7 b' class bmstore(dict):' | |||
|
63 | 64 | sha, refspec = line.split(' ', 1) |
|
64 | 65 | refspec = encoding.tolocal(refspec) |
|
65 | 66 | try: |
|
66 |
self[refspec] = |
|
|
67 | self[refspec] = lookup(sha) | |
|
67 | 68 | except LookupError: |
|
68 | 69 | pass |
|
69 | 70 | except IOError as inst: |
General Comments 0
You need to be logged in to leave comments.
Login now