mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 15:57:43 +03:00
vfs: use 'vfs' module directly in 'hgext.convert'
Now that the 'vfs' classes moved in their own module, lets use the new module directly. We update code iteratively to help with possible bisect needs in the future.
This commit is contained in:
parent
2e94eebbe6
commit
f3a174150b
@ -13,8 +13,8 @@ from mercurial import (
|
||||
encoding,
|
||||
error,
|
||||
pycompat,
|
||||
scmutil,
|
||||
util,
|
||||
vfs as vfsmod,
|
||||
)
|
||||
|
||||
from . import common
|
||||
@ -1146,8 +1146,8 @@ class svn_sink(converter_sink, commandline):
|
||||
self.run0('checkout', path, wcpath)
|
||||
|
||||
self.wc = wcpath
|
||||
self.opener = scmutil.vfs(self.wc)
|
||||
self.wopener = scmutil.vfs(self.wc)
|
||||
self.opener = vfsmod.vfs(self.wc)
|
||||
self.wopener = vfsmod.vfs(self.wc)
|
||||
self.childmap = mapfile(ui, self.join('hg-childmap'))
|
||||
if util.checkexec(self.wc):
|
||||
self.is_exec = util.isexec
|
||||
|
Loading…
Reference in New Issue
Block a user