##// END OF EJS Templates
vfs: use 'vfs' module directly in 'hgext.largefile'...
Pierre-Yves David -
r31247:04b42862 default
parent child Browse files
Show More
@@ -27,6 +27,7 b' from mercurial import ('
27 pycompat,
27 pycompat,
28 scmutil,
28 scmutil,
29 util,
29 util,
30 vfs as vfsmod,
30 )
31 )
31
32
32 shortname = '.hglf'
33 shortname = '.hglf'
@@ -144,7 +145,7 b' def openlfdirstate(ui, repo, create=True'
144 '''
145 '''
145 vfs = repo.vfs
146 vfs = repo.vfs
146 lfstoredir = longname
147 lfstoredir = longname
147 opener = scmutil.vfs(vfs.join(lfstoredir))
148 opener = vfsmod.vfs(vfs.join(lfstoredir))
148 lfdirstate = largefilesdirstate(opener, ui, repo.root,
149 lfdirstate = largefilesdirstate(opener, ui, repo.root,
149 repo.dirstate._validate)
150 repo.dirstate._validate)
150
151
General Comments 0
You need to be logged in to leave comments. Login now