Show More
@@ -299,7 +299,8 b' class localrepository(repo.repository):' | |||
|
299 | 299 | f = self.opener("branches.cache") |
|
300 | 300 | last, lrev = f.readline().rstrip().split(" ", 1) |
|
301 | 301 | last, lrev = bin(last), int(lrev) |
|
302 |
if self.changelog. |
|
|
302 | if (lrev < self.changelog.count() and | |
|
303 | self.changelog.node(lrev) == last): # sanity check | |
|
303 | 304 | for l in f: |
|
304 | 305 | node, label = l.rstrip().split(" ", 1) |
|
305 | 306 | self.branchcache[label] = bin(node) |
General Comments 0
You need to be logged in to leave comments.
Login now