largefiles: replace invocation of os.path module by vfs in reposetup.py
This commit is part of bigger effort described in 'Windows UTF-8' plan.
--- a/hgext/largefiles/reposetup.py Sat Mar 19 14:50:40 2016 +0100
+++ b/hgext/largefiles/reposetup.py Sat Mar 19 15:31:13 2016 +0100
@@ -8,7 +8,6 @@
'''setup for largefiles repositories: reposetup'''
import copy
-import os
from mercurial import error, match as match_, error
from mercurial.i18n import _
@@ -305,7 +304,7 @@
_('file "%s" is a largefile standin') % f,
hint=('commit the largefile itself instead'))
# Scan directories
- if os.path.isdir(self.wjoin(f)):
+ if self.wvfs.isdir(f):
dirs.append(f)
else:
regulars.append(f)