##// END OF EJS Templates
vfs: use 'vfs' module directly in 'mercurial.unionrepo'...
Pierre-Yves David -
r31242:854f9188 default
parent child Browse files
Show More
@@ -27,8 +27,8 b' from . import ('
27 pathutil,
27 pathutil,
28 pycompat,
28 pycompat,
29 revlog,
29 revlog,
30 scmutil,
31 util,
30 util,
31 vfs as vfsmod,
32 )
32 )
33
33
34 class unionrevlog(revlog.revlog):
34 class unionrevlog(revlog.revlog):
@@ -39,7 +39,7 b' class unionrevlog(revlog.revlog):'
39 #
39 #
40 # To differentiate a rev in the second revlog from a rev in the revlog,
40 # To differentiate a rev in the second revlog from a rev in the revlog,
41 # we check revision against repotiprev.
41 # we check revision against repotiprev.
42 opener = scmutil.readonlyvfs(opener)
42 opener = vfsmod.readonlyvfs(opener)
43 revlog.revlog.__init__(self, opener, indexfile)
43 revlog.revlog.__init__(self, opener, indexfile)
44 self.revlog2 = revlog2
44 self.revlog2 = revlog2
45
45
General Comments 0
You need to be logged in to leave comments. Login now