Show More
@@ -383,8 +383,8 b' def _combine_changeset_copies(' | |||||
383 | minor, major = othercopies, newcopies |
|
383 | minor, major = othercopies, newcopies | |
384 | else: |
|
384 | else: | |
385 | minor, major = newcopies, othercopies |
|
385 | minor, major = newcopies, othercopies | |
386 | _merge_copies_dict(minor, major, isancestor, changes) |
|
386 | copies = _merge_copies_dict(minor, major, isancestor, changes) | |
387 |
all_copies[c] = |
|
387 | all_copies[c] = copies | |
388 |
|
388 | |||
389 | final_copies = {} |
|
389 | final_copies = {} | |
390 | for dest, (tt, source) in all_copies[targetrev].items(): |
|
390 | for dest, (tt, source) in all_copies[targetrev].items(): | |
@@ -403,6 +403,8 b' def _merge_copies_dict(minor, major, isa' | |||||
403 |
|
403 | |||
404 | - `ismerged(path)`: callable return True if `path` have been merged in the |
|
404 | - `ismerged(path)`: callable return True if `path` have been merged in the | |
405 | current revision, |
|
405 | current revision, | |
|
406 | ||||
|
407 | return the resulting dict (in practice, the "minor" object, updated) | |||
406 | """ |
|
408 | """ | |
407 | for dest, value in major.items(): |
|
409 | for dest, value in major.items(): | |
408 | other = minor.get(dest) |
|
410 | other = minor.get(dest) | |
@@ -436,6 +438,7 b' def _merge_copies_dict(minor, major, isa' | |||||
436 | minor[dest] = value |
|
438 | minor[dest] = value | |
437 | elif isancestor(other_tt, new_tt): |
|
439 | elif isancestor(other_tt, new_tt): | |
438 | minor[dest] = value |
|
440 | minor[dest] = value | |
|
441 | return minor | |||
439 |
|
442 | |||
440 |
|
443 | |||
441 | def _revinfo_getter_extra(repo): |
|
444 | def _revinfo_getter_extra(repo): |
General Comments 0
You need to be logged in to leave comments.
Login now