# HG changeset patch # User Matt Mackall # Date 1159808793 18000 # Node ID cac7be0b9b99b89bf04978f6f16169f822c999d3 # Parent 3fd098e0902d7efe5ec738f7ebfa55a57ca1e7d1 merge: remove old merge function diff -r 3fd098e0902d -r cac7be0b9b99 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