changeset 3212:cac7be0b9b99

merge: remove old merge function
author Matt Mackall <mpm@selenic.com>
date Mon, 02 Oct 2006 12:06:33 -0500
parents 3fd098e0902d
children e8199702cf4e
files mercurial/merge.py
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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