hgext3rd/evolve/compat.py
changeset 4488 6c0992ce05f7
parent 4464 05f8908df4ce
child 4546 e7b44e9c38d2
--- a/hgext3rd/evolve/compat.py	Sun Apr 07 19:53:53 2019 +0200
+++ b/hgext3rd/evolve/compat.py	Sun Apr 07 20:00:16 2019 +0200
@@ -19,7 +19,6 @@
     scmutil,
     util,
     ui as uimod,
-    vfs as vfsmod,
 )
 from mercurial.hgweb import hgweb_mod
 
@@ -100,13 +99,6 @@
                                   copied=copied.get(path))
     return mctx
 
-def getcachevfs(repo):
-    cachevfs = getattr(repo, 'cachevfs', None)
-    if cachevfs is None:
-        cachevfs = vfsmod.vfs(repo.vfs.join('cache'))
-        cachevfs.createmode = repo.store.createmode
-    return cachevfs
-
 def strdiff(a, b, fn1, fn2):
     """ A version of mdiff.unidiff for comparing two strings
     """