Mercurial > hg-stable
diff hgext/mq.py @ 31318:8908f985570c
vfs: use repo.wvfs.unlinkpath
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 14 Jan 2015 01:15:26 +0100 |
parents | 816bc3b35bac |
children | 7eb53603744b |
line wrap: on
line diff
--- a/hgext/mq.py Wed Mar 08 18:11:41 2017 -0500 +++ b/hgext/mq.py Wed Jan 14 01:15:26 2015 +0100 @@ -1479,7 +1479,7 @@ # created while patching for f in all_files: if f not in repo.dirstate: - util.unlinkpath(repo.wjoin(f), ignoremissing=True) + repo.wvfs.unlinkpath(f, ignoremissing=True) self.ui.warn(_('done\n')) raise @@ -1582,7 +1582,7 @@ self.backup(repo, tobackup) repo.dirstate.beginparentchange() for f in a: - util.unlinkpath(repo.wjoin(f), ignoremissing=True) + repo.wvfs.unlinkpath(f, ignoremissing=True) repo.dirstate.drop(f) for f in m + r: fctx = ctx[f]