# HG changeset patch # User Augie Fackler # Date 1506771779 14400 # Node ID d0db41af73c08bb55c7d6bb487bc94d6ae89c635 # Parent 5adbd3806ef757228c2ae9dc3cf59a1c5450db1e branchmap: remove superfluous pass statements diff -r 5adbd3806ef7 -r d0db41af73c0 mercurial/branchmap.py --- a/mercurial/branchmap.py Sat Sep 30 07:42:47 2017 -0400 +++ b/mercurial/branchmap.py Sat Sep 30 07:42:59 2017 -0400 @@ -251,9 +251,8 @@ 'wrote %s branch cache with %d labels and %d nodes\n', repo.filtername, len(self), nodecount) except (IOError, OSError, error.Abort) as inst: + # Abort may be raised by read only opener, so log and continue repo.ui.debug("couldn't write branch cache: %s\n" % inst) - # Abort may be raise by read only opener - pass def update(self, repo, revgen): """Given a branchhead cache, self, that may have extra nodes or be