changeset 6802 | 04503b757935 |
parent 6762 | f67d1468ac50 |
parent 6801 | 71e339714586 |
child 6917 | b6fffcd97242 |
--- a/hgext/mq.py Sat Jul 05 14:35:36 2008 +0200 +++ b/hgext/mq.py Mon Jul 07 09:31:32 2008 +0200 @@ -1129,7 +1129,7 @@ f = repo.file(dst) src = f.renamed(man[dst]) if src: - copies[src[0]] = copies.get(dst, []) + copies.setdefault(src[0], []).extend(copies.get(dst, [])) if dst in a: copies[src[0]].append(dst) # we can't copy a file created by the patch itself