Show More
@@ -357,10 +357,10 b' def _combine_changeset_copies(' | |||||
357 | alwaysmatch = match.always() |
|
357 | alwaysmatch = match.always() | |
358 |
|
358 | |||
359 | if rustmod is not None and alwaysmatch: |
|
359 | if rustmod is not None and alwaysmatch: | |
360 |
|
|
360 | final_copies = rustmod.combine_changeset_copies( | |
361 | list(revs), children_count, targetrev, revinfo, isancestor |
|
361 | list(revs), children_count, targetrev, revinfo, isancestor | |
362 | ) |
|
362 | ) | |
363 |
|
363 | else: | ||
364 | isancestor = cached_is_ancestor(isancestor) |
|
364 | isancestor = cached_is_ancestor(isancestor) | |
365 |
|
365 | |||
366 | all_copies = {} |
|
366 | all_copies = {} | |
@@ -368,7 +368,6 b' def _combine_changeset_copies(' | |||||
368 | for current_rev in revs: |
|
368 | for current_rev in revs: | |
369 | p1, p2, changes = revinfo(current_rev) |
|
369 | p1, p2, changes = revinfo(current_rev) | |
370 | current_copies = None |
|
370 | current_copies = None | |
371 |
|
||||
372 | # iterate over all parents to chain the existing data with the |
|
371 | # iterate over all parents to chain the existing data with the | |
373 | # data from the parent → child edge. |
|
372 | # data from the parent → child edge. | |
374 | for parent, parent_rev in ((1, p1), (2, p2)): |
|
373 | for parent, parent_rev in ((1, p1), (2, p2)): | |
@@ -422,7 +421,6 b' def _combine_changeset_copies(' | |||||
422 | # could be avoided. |
|
421 | # could be avoided. | |
423 | newcopies = copies.copy() |
|
422 | newcopies = copies.copy() | |
424 | newcopies[f] = (current_rev, None) |
|
423 | newcopies[f] = (current_rev, None) | |
425 |
|
||||
426 | # check potential need to combine the data from another parent (for |
|
424 | # check potential need to combine the data from another parent (for | |
427 | # that child). See comment below for details. |
|
425 | # that child). See comment below for details. | |
428 | if current_copies is None: |
|
426 | if current_copies is None: |
General Comments 0
You need to be logged in to leave comments.
Login now