Mercurial > hg
changeset 6615:0697e7818d07
status: fix "added" attributes renamed in bf2bf986ff87
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Sun, 18 May 2008 23:09:59 +0200 |
parents | 944a292d522a |
children | e9dfe4e3ee6f |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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: