mercurial/merge.py
changeset 4400 93652499bed3
parent 4399 3b7e284b8f28
child 4401 84cd52b48f94
--- 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