Mercurial > hg-stable
diff hgext/largefiles/overrides.py @ 23673:69cd91d04117
forget: use vfs instead of os.path + match.rel() for filesystem checks
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 25 Dec 2014 21:43:45 -0500 |
parents | 55c92618fdd4 |
children | 3314664606e6 |
line wrap: on
line diff
--- a/hgext/largefiles/overrides.py Wed Dec 24 12:07:59 2014 -0500 +++ b/hgext/largefiles/overrides.py Thu Dec 25 21:43:45 2014 -0500 @@ -971,7 +971,7 @@ for f in forget: if lfutil.standin(f) not in repo.dirstate and not \ - os.path.isdir(m.rel(lfutil.standin(f))): + repo.wvfs.isdir(lfutil.standin(f)): ui.warn(_('not removing %s: file is already untracked\n') % m.rel(f)) result = 1