diff -r d9b6b9ed96d8 -r 9e593db5f1a1 mercurial/vfs.py --- 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)