##// END OF EJS Templates
Fix copy detection corner case...
Matt Mackall -
r3875:c0a12e64 default
parent child Browse files
Show More
@@ -109,10 +109,10 b' def findcopies(repo, m1, m2, ma, limit):'
109 visit = [fctx]
109 visit = [fctx]
110 while visit:
110 while visit:
111 fc = visit.pop()
111 fc = visit.pop()
112 if fc.path() != orig and fc.path() not in old:
113 old[fc.path()] = 1
112 if fc.rev() < limit:
114 if fc.rev() < limit:
113 continue
115 continue
114 if fc.path() != orig and fc.path() not in old:
115 old[fc.path()] = 1
116 visit += fc.parents()
116 visit += fc.parents()
117
117
118 old = old.keys()
118 old = old.keys()
General Comments 0
You need to be logged in to leave comments. Login now