diff mercurial/filemerge.py @ 8861:90f74b31ed4f

filemerge: fix internal:dump
author Matt Mackall <mpm@selenic.com>
date Sat, 20 Jun 2009 16:42:51 -0500
parents 91e26fb24fb1
children 86b4a9b0ddda
line wrap: on
line diff
--- a/mercurial/filemerge.py	Sat Jun 20 16:42:51 2009 -0500
+++ b/mercurial/filemerge.py	Sat Jun 20 16:42:51 2009 -0500
@@ -195,8 +195,8 @@
     elif tool == 'internal:dump':
         a = repo.wjoin(fd)
         util.copyfile(a, a + ".local")
-        repo.wwrite(a + ".other", fco.data(), fco.flags())
-        repo.wwrite(a + ".base", fca.data(), fca.flags())
+        repo.wwrite(fd + ".other", fco.data(), fco.flags())
+        repo.wwrite(fd + ".base", fca.data(), fca.flags())
         return 1 # unresolved
     else:
         args = _toolstr(ui, tool, "args", '$local $base $other')