mercurial/vfs.py
changeset 41092 9e593db5f1a1
parent 41091 d9b6b9ed96d8
child 41093 6498f0e03526
--- a/mercurial/vfs.py	Wed Dec 26 13:44:23 2018 +0100
+++ b/mercurial/vfs.py	Wed Dec 26 13:44:37 2018 +0100
@@ -199,6 +199,7 @@
         checkambig=True only in limited cases (see also issue5418 and
         issue5584 for detail).
         """
+        self._auditpath(dst, 'w')
         srcpath = self.join(src)
         dstpath = self.join(dst)
         oldstat = checkambig and util.filestat.frompath(dstpath)