changeset 20615:b96cb15ec9e0 stable 2.9.1

merge: audit the right destination file when merging with dir rename
author Mads Kiilerich <madski@unity3d.com>
date Sat, 01 Mar 2014 18:09:39 +0100
parents ba619c50a355
children adec4543e489
files mercurial/merge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/merge.py	Tue Feb 25 18:45:01 2014 -0800
+++ b/mercurial/merge.py	Sat Mar 01 18:09:39 2014 +0100
@@ -654,7 +654,7 @@
             f2, fd, flags = args
             if f:
                 repo.ui.note(_("moving %s to %s\n") % (f, fd))
-                audit(f)
+                audit(fd)
                 repo.wwrite(fd, wctx.filectx(f).data(), flags)
                 util.unlinkpath(repo.wjoin(f))
             if f2: