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