# HG changeset patch # User Matt Mackall # Date 1403549202 18000 # Node ID c20843aee8a4853d5bd310b37d7b0a1466ca0e89 # Parent fb5f34bb3867c8ebf9f3288236300c7a1fceee59 branch: add debug message for branch cache write failure diff -r fb5f34bb3867 -r c20843aee8a4 mercurial/branchmap.py --- 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