##// END OF EJS Templates
diff: drop duplicate filter of copies by destination...
Martin von Zweigbergk -
r41546:913bd76c default draft
parent child Browse files
Show More
@@ -2343,10 +2343,10 b' def diffhunks(repo, node1=None, node2=No'
2343 copy = copies.pathcopies(ctx1, ctx2, match=match)
2343 copy = copies.pathcopies(ctx1, ctx2, match=match)
2344
2344
2345 if relroot:
2345 if relroot:
2346 # filter out copies where either side isn't inside the relative root
2346 # filter out copies where source side isn't inside the relative root
2347 copy = dict(((dst, src) for (dst, src) in copy.iteritems()
2347 # (copies.pathcopies() already filtered out the destination)
2348 if dst.startswith(relroot)
2348 copy = {dst: src for dst, src in copy.iteritems()
2349 and src.startswith(relroot)))
2349 if src.startswith(relroot)}
2350
2350
2351 modifiedset = set(modified)
2351 modifiedset = set(modified)
2352 addedset = set(added)
2352 addedset = set(added)
General Comments 0
You need to be logged in to leave comments. Login now