changeset 6615 | 0697e7818d07 |
parent 6605 | bf2bf986ff87 |
child 6622 | 92ee960a928d |
--- a/mercurial/commands.py Wed May 14 01:08:51 2008 +0200 +++ b/mercurial/commands.py Sun May 18 23:09:59 2008 +0200 @@ -2650,9 +2650,9 @@ if node2 is None: ctx2 = repo.workingctx() for k, v in copies.copies(repo, ctx1, ctx2, ctxn)[0].items(): - if v in stat.added: + if v in stat[1]: copy[v] = k - elif k in stat.added: + elif k in stat[1]: copy[k] = v for state, char, files in changestates: