mercurial/branchmap.py
changeset 21788 c20843aee8a4
parent 21031 05cfcecb3aef
child 21789 15baed3f24ee
--- a/mercurial/branchmap.py	Sun May 04 22:36:07 2014 -0700
+++ b/mercurial/branchmap.py	Mon Jun 23 13:46:42 2014 -0500
@@ -221,7 +221,8 @@
             repo.ui.log('branchcache',
                         'wrote %s branch cache with %d labels and %d nodes\n',
                         repo.filtername, len(self), nodecount)
-        except (IOError, OSError, util.Abort):
+        except (IOError, OSError, util.Abort), inst:
+            repo.ui.debug("couldn't write branch cache: %s\n" % inst)
             # Abort may be raise by read only opener
             pass