equal
deleted
inserted
replaced
1127 if self.diffopts().git: |
1127 if self.diffopts().git: |
1128 for dst in aaa: |
1128 for dst in aaa: |
1129 f = repo.file(dst) |
1129 f = repo.file(dst) |
1130 src = f.renamed(man[dst]) |
1130 src = f.renamed(man[dst]) |
1131 if src: |
1131 if src: |
1132 copies[src[0]] = copies.get(dst, []) |
1132 copies.setdefault(src[0], []).extend(copies.get(dst, [])) |
1133 if dst in a: |
1133 if dst in a: |
1134 copies[src[0]].append(dst) |
1134 copies[src[0]].append(dst) |
1135 # we can't copy a file created by the patch itself |
1135 # we can't copy a file created by the patch itself |
1136 if dst in copies: |
1136 if dst in copies: |
1137 del copies[dst] |
1137 del copies[dst] |