Show More
@@ -255,7 +255,8 b' class branchcache(dict):' | |||||
255 | repo.filtername, len(self), nodecount) |
|
255 | repo.filtername, len(self), nodecount) | |
256 | except (IOError, OSError, error.Abort) as inst: |
|
256 | except (IOError, OSError, error.Abort) as inst: | |
257 | # Abort may be raised by read only opener, so log and continue |
|
257 | # Abort may be raised by read only opener, so log and continue | |
258 |
repo.ui.debug("couldn't write branch cache: %s\n" % |
|
258 | repo.ui.debug("couldn't write branch cache: %s\n" % | |
|
259 | util.forcebytestr(inst)) | |||
259 |
|
260 | |||
260 | def update(self, repo, revgen): |
|
261 | def update(self, repo, revgen): | |
261 | """Given a branchhead cache, self, that may have extra nodes or be |
|
262 | """Given a branchhead cache, self, that may have extra nodes or be |
@@ -783,6 +783,6 b' class hgtagsfnodescache(object):' | |||||
783 | except (IOError, OSError) as inst: |
|
783 | except (IOError, OSError) as inst: | |
784 | repo.ui.log('tagscache', |
|
784 | repo.ui.log('tagscache', | |
785 | "couldn't write cache/%s: %s\n" % ( |
|
785 | "couldn't write cache/%s: %s\n" % ( | |
786 | _fnodescachefile, inst)) |
|
786 | _fnodescachefile, util.forcebytestr(inst))) | |
787 | finally: |
|
787 | finally: | |
788 | lock.release() |
|
788 | lock.release() |
General Comments 0
You need to be logged in to leave comments.
Login now