Show More
@@ -377,7 +377,7 b' class filefixupstate(object):' | |||||
377 | if not involved and annotated: # a1 == a2 and a is not empty |
|
377 | if not involved and annotated: # a1 == a2 and a is not empty | |
378 | # pure insertion, check nearby lines. ignore lines belong |
|
378 | # pure insertion, check nearby lines. ignore lines belong | |
379 | # to the public (first) changeset (i.e. annotated[i][0] == 1) |
|
379 | # to the public (first) changeset (i.e. annotated[i][0] == 1) | |
380 |
nearbylinenums = |
|
380 | nearbylinenums = {a2, max(0, a1 - 1)} | |
381 | involved = [annotated[i] |
|
381 | involved = [annotated[i] | |
382 | for i in nearbylinenums if annotated[i][0] != 1] |
|
382 | for i in nearbylinenums if annotated[i][0] != 1] | |
383 | involvedrevs = list(set(r for r, l in involved)) |
|
383 | involvedrevs = list(set(r for r, l in involved)) |
General Comments 0
You need to be logged in to leave comments.
Login now