changeset 7971 | 6ea0318daf75 |
parent 7860 | 162fd31bbd93 |
child 7972 | 425a30ddfff6 |
--- a/mercurial/patch.py Fri Apr 03 11:50:42 2009 -0500 +++ b/mercurial/patch.py Tue Mar 24 23:28:55 2009 +0000 @@ -910,7 +910,7 @@ # else error? # copy/rename + modify should modify target, not source gp = changed.get(bfile) - if gp and gp.op in ('COPY', 'DELETE', 'RENAME'): + if gp and gp.op in ('COPY', 'DELETE', 'RENAME', 'ADD'): afile = bfile gitworkdone = True newfile = True