filemerge: fix path to working file when fixeol is enabled
authorLee Cantey <lcantey@gmail.com>
Sun, 03 Feb 2008 23:58:02 -0800
changeset 6015 26ef792f834e
parent 6014 2f424fc4edb3
child 6016 288ec2f6faa2
filemerge: fix path to working file when fixeol is enabled
mercurial/filemerge.py
--- a/mercurial/filemerge.py	Mon Feb 04 09:53:10 2008 -0600
+++ b/mercurial/filemerge.py	Sun Feb 03 23:58:02 2008 -0800
@@ -191,7 +191,7 @@
             r = 1
 
     if _toolbool(ui, tool, "fixeol"):
-        _matcheol(repo.join(fd), back)
+        _matcheol(repo.wjoin(fd), back)
 
     if r:
         repo.ui.warn(_("merging %s failed!\n") % fd)