Show More
@@ -451,7 +451,7 b' def checkcopies(ctx, f, m1, m2, ca, limi' | |||||
451 |
|
451 | |||
452 | g1, g2 = f1.ancestors(), f2.ancestors() |
|
452 | g1, g2 = f1.ancestors(), f2.ancestors() | |
453 | try: |
|
453 | try: | |
454 | f1r, f2r = f1.rev(), f2.rev() |
|
454 | f1r, f2r = f1.linkrev(), f2.linkrev() | |
455 |
|
455 | |||
456 | if f1r is None: |
|
456 | if f1r is None: | |
457 | f1 = g1.next() |
|
457 | f1 = g1.next() | |
@@ -459,7 +459,7 b' def checkcopies(ctx, f, m1, m2, ca, limi' | |||||
459 | f2 = g2.next() |
|
459 | f2 = g2.next() | |
460 |
|
460 | |||
461 | while True: |
|
461 | while True: | |
462 | f1r, f2r = f1.rev(), f2.rev() |
|
462 | f1r, f2r = f1.linkrev(), f2.linkrev() | |
463 | if f1r > f2r: |
|
463 | if f1r > f2r: | |
464 | f1 = g1.next() |
|
464 | f1 = g1.next() | |
465 | elif f2r > f1r: |
|
465 | elif f2r > f1r: | |
@@ -474,7 +474,7 b' def checkcopies(ctx, f, m1, m2, ca, limi' | |||||
474 | of = None |
|
474 | of = None | |
475 | seen = set([f]) |
|
475 | seen = set([f]) | |
476 | for oc in ctx(f, m1[f]).ancestors(): |
|
476 | for oc in ctx(f, m1[f]).ancestors(): | |
477 | ocr = oc.rev() |
|
477 | ocr = oc.linkrev() | |
478 | of = oc.path() |
|
478 | of = oc.path() | |
479 | if of in seen: |
|
479 | if of in seen: | |
480 | # check limit late - grab last rename before |
|
480 | # check limit late - grab last rename before |
General Comments 0
You need to be logged in to leave comments.
Login now