# HG changeset patch # User Pierre-Yves David # Date 1536851384 -7200 # Node ID dc50050dbf801300806c757fadba7b93a4710fda # Parent dda7746647f200d8c756f94ce06a929a0f0873ba obshashrangecache: be more paranoid in the errors we catch It seems like there error were already covered. Better safe than sorry. diff -r dda7746647f2 -r dc50050dbf80 hgext3rd/evolve/obsdiscovery.py --- a/hgext3rd/evolve/obsdiscovery.py Thu Sep 13 17:09:34 2018 +0200 +++ b/hgext3rd/evolve/obsdiscovery.py Thu Sep 13 17:09:44 2018 +0200 @@ -612,7 +612,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