##// END OF EJS Templates
copies: deal with symmetric difference for linear relationships...
Matt Mackall -
r6277:cfebb175 default
parent child Browse files
Show More
@@ -68,7 +68,7 b' def copies(repo, c1, c2, ca):'
68 pr = repo.changelog.parentrevs
68 pr = repo.changelog.parentrevs
69 def parents(rev):
69 def parents(rev):
70 return [p for p in pr(rev) if p != nullrev]
70 return [p for p in pr(rev) if p != nullrev]
71 limit = min(ancestor.symmetricdifference(rev1, rev2, parents))
71 limit = min(ancestor.symmetricdifference(rev1, rev2, parents) + [rev1, rev2])
72 m1 = c1.manifest()
72 m1 = c1.manifest()
73 m2 = c2.manifest()
73 m2 = c2.manifest()
74 ma = ca.manifest()
74 ma = ca.manifest()
General Comments 0
You need to be logged in to leave comments. Login now