# HG changeset patch # User liscju # Date 1458397873 -3600 # Node ID 5c14af475f61f1a2dcd19a1f10a3d03a87ca936b # Parent a7f7b7acf489189be18d8ecf88795b7ebd71ba17 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. diff -r a7f7b7acf489 -r 5c14af475f61 hgext/largefiles/reposetup.py --- 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)