hgext/mq.py
changeset 31318 8908f985570c
parent 31253 816bc3b35bac
child 31321 7eb53603744b
--- 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]