Commits

Pierre-Yves David  committed c2d692c

stronger try except for store cache

  • Participants
  • Parent commits dea67da
  • Branches default

Comments (0)

Files changed (1)

File hgext/obsolete.py

 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)