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