##// END OF EJS Templates
branch: add debug message for branch cache write failure
Matt Mackall -
r21788:c20843ae default
parent child Browse files
Show More
@@ -221,7 +221,8 b' class branchcache(dict):'
221 repo.ui.log('branchcache',
221 repo.ui.log('branchcache',
222 'wrote %s branch cache with %d labels and %d nodes\n',
222 'wrote %s branch cache with %d labels and %d nodes\n',
223 repo.filtername, len(self), nodecount)
223 repo.filtername, len(self), nodecount)
224 except (IOError, OSError, util.Abort):
224 except (IOError, OSError, util.Abort), inst:
225 repo.ui.debug("couldn't write branch cache: %s\n" % inst)
225 # Abort may be raise by read only opener
226 # Abort may be raise by read only opener
226 pass
227 pass
227
228
General Comments 0
You need to be logged in to leave comments. Login now