Show More
@@ -593,16 +593,16 b' def _fullcopytracing(repo, c1, c2, base)' | |||
|
593 | 593 | continue |
|
594 | 594 | elif dsrc in d1 and ddst in d1: |
|
595 | 595 | # directory wasn't entirely moved locally |
|
596 |
invalid.add(dsrc |
|
|
596 | invalid.add(dsrc) | |
|
597 | 597 | elif dsrc in d2 and ddst in d2: |
|
598 | 598 | # directory wasn't entirely moved remotely |
|
599 |
invalid.add(dsrc |
|
|
600 |
elif dsrc |
|
|
599 | invalid.add(dsrc) | |
|
600 | elif dsrc in dirmove and dirmove[dsrc] != ddst: | |
|
601 | 601 | # files from the same directory moved to two different places |
|
602 |
invalid.add(dsrc |
|
|
602 | invalid.add(dsrc) | |
|
603 | 603 | else: |
|
604 | 604 | # looks good so far |
|
605 |
dirmove[dsrc |
|
|
605 | dirmove[dsrc] = ddst | |
|
606 | 606 | |
|
607 | 607 | for i in invalid: |
|
608 | 608 | if i in dirmove: |
@@ -612,6 +612,8 b' def _fullcopytracing(repo, c1, c2, base)' | |||
|
612 | 612 | if not dirmove: |
|
613 | 613 | return copy, {}, diverge, renamedelete, {} |
|
614 | 614 | |
|
615 | dirmove = {k + "/": v + "/" for k, v in dirmove.iteritems()} | |
|
616 | ||
|
615 | 617 | for d in dirmove: |
|
616 | 618 | repo.ui.debug(" discovered dir src: '%s' -> dst: '%s'\n" % |
|
617 | 619 | (d, dirmove[d])) |
General Comments 0
You need to be logged in to leave comments.
Login now