Mercurial > hg
changeset 34370:d0db41af73c0
branchmap: remove superfluous pass statements
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 30 Sep 2017 07:42:59 -0400 |
parents | 5adbd3806ef7 |
children | 635553ca6eb9 |
files | mercurial/branchmap.py |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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