changeset 197 | c2d692c8f599 |
parent 160 | 24346b78cd99 |
child 202 | 83b7e2c62ac3 |
--- a/hgext/obsolete.py Wed Mar 28 21:13:46 2012 +0200 +++ b/hgext/obsolete.py Mon Apr 02 14:43:41 2012 +0200 @@ -101,7 +101,7 @@ try: from mercurial.localrepo import storecache storecache('babar') # to trigger import -except TypeError: +except (TypeError, ImportError): def storecache(*args): return scmutil.filecache(*args, instore=True)