Show More
@@ -304,10 +304,11 b' class localrepository(repo.repository):' | |||||
304 | for l in f: |
|
304 | for l in f: | |
305 | node, label = l.rstrip().split(" ", 1) |
|
305 | node, label = l.rstrip().split(" ", 1) | |
306 | self.branchcache[label] = bin(node) |
|
306 | self.branchcache[label] = bin(node) | |
|
307 | else: # invalidate the cache | |||
|
308 | last, lrev = nullid, -1 | |||
307 | f.close() |
|
309 | f.close() | |
308 | except IOError: |
|
310 | except IOError: | |
309 | last, lrev = nullid, -1 |
|
311 | last, lrev = nullid, -1 | |
310 | lrev = self.changelog.rev(last) |
|
|||
311 |
|
312 | |||
312 | tip = self.changelog.count() - 1 |
|
313 | tip = self.changelog.count() - 1 | |
313 | if lrev != tip: |
|
314 | if lrev != tip: |
General Comments 0
You need to be logged in to leave comments.
Login now