changeset 6877 | 1d38f3605b20 |
parent 6791 | bbd89c9e6012 |
child 6884 | 11229144aa01 |
--- a/mercurial/patch.py Sun Aug 10 18:01:03 2008 -0500 +++ b/mercurial/patch.py Sun Aug 10 21:55:06 2008 -0500 @@ -1109,7 +1109,7 @@ if ctype == 'ADD' and not os.path.exists(dst): repo.wwrite(gp.path, '', flags) else: - util.set_flags(dst, flags) + util.set_flags(dst, 'l' in flags, 'x' in flags) cmdutil.addremove(repo, cfiles) files = patches.keys() files.extend([r for r in removes if r not in files])