Mercurial > hg
diff hgext/largefiles/reposetup.py @ 28716:5c14af475f61
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.
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Sat, 19 Mar 2016 15:31:13 +0100 |
parents | 002108b219e3 |
children | 79b8f052ee51 |
line wrap: on
line diff
--- 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)