# HG changeset patch # User Pierre-Yves David # Date 1536851374 -7200 # Node ID dda7746647f200d8c756f94ce06a929a0f0873ba # Parent a023abd12f3b239d531f63f1ac891aab61e5e4f7 stablerangecache: be more paranoid in the errors we catch It seems like there error were already covered. Better safe than sorry. diff -r a023abd12f3b -r dda7746647f2 hgext3rd/evolve/stablerangecache.py --- a/hgext3rd/evolve/stablerangecache.py Thu Sep 13 19:22:03 2018 +0200 +++ b/hgext3rd/evolve/stablerangecache.py Thu Sep 13 17:09:34 2018 +0200 @@ -266,7 +266,7 @@ return try: return self._trysave(repo) - except (sqlite3.DatabaseError, sqlite3.OperationalError, sqlite3.IntegrityError) as exc: + except (IOError, OSError, sqlite3.DatabaseError, sqlite3.OperationalError, sqlite3.IntegrityError) as exc: # Catch error that may arise under stress # # operational error catch read-only and locked database