merge: remove old merge function
authorMatt Mackall <mpm@selenic.com>
Mon, 02 Oct 2006 12:06:33 -0500
changeset 3212 cac7be0b9b99
parent 3211 3fd098e0902d
child 3213 e8199702cf4e
merge: remove old merge function
mercurial/merge.py
--- a/mercurial/merge.py	Mon Oct 02 12:04:48 2006 -0500
+++ b/mercurial/merge.py	Mon Oct 02 12:06:33 2006 -0500
@@ -59,10 +59,6 @@
     os.unlink(c)
     return r
 
-def merge3(repo, fn, my, other, p1, p2):
-    """perform a 3-way merge in the working directory"""
-    return filemerge(repo, fn, fn, fn, my, other, p1, p2, False)
-
 def checkunknown(repo, m2, status):
     """
     check for collisions between unknown files and files in m2
@@ -277,7 +273,7 @@
         elif m == "m": # merge
             flag, my, other = a[2:]
             repo.ui.status(_("merging %s\n") % f)
-            if merge3(repo, f, my, other, xp1, xp2):
+            if filemerge(repo, f, f, f, my, other, xp1, xp2, False):
                 unresolved += 1
             util.set_exec(repo.wjoin(f), flag)
             merged += 1