changeset 4400:93652499bed3

merge: simplify a check in checkcopies
author Matt Mackall <mpm@selenic.com>
date Thu, 03 May 2007 17:24:43 -0500
parents 3b7e284b8f28
children 84cd52b48f94
files mercurial/merge.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/merge.py
+++ b/mercurial/merge.py
@@ -157,7 +157,7 @@ def findcopies(repo, m1, m2, ma, limit):
             # named changed on only one side?
             if ca.path() == c.path() or ca.path() == c2.path():
                 fullcopy[c.path()] = of # remember for dir rename detection
-                if c == ca and c2 == ca: # no merge needed, ignore copy
+                if c == c2: # no merge needed, ignore copy
                     continue
                 copy[c.path()] = of