author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
Mon, 02 Apr 2012 14:43:41 +0200 | |
changeset 197 | c2d692c8f599 |
parent 196 | dea67dae27a4 |
child 198 | 384dd4b11b27 |
hgext/obsolete.py | file | annotate | diff | comparison | revisions |
--- 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)