filemerge: fix internal:dump
authorMatt Mackall <mpm@selenic.com>
Sat, 20 Jun 2009 16:42:51 -0500
changeset 8861 90f74b31ed4f
parent 8860 36654238c050
child 8862 cd96f159a2d3
filemerge: fix internal:dump
mercurial/filemerge.py
--- 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')