mercurial/patch.py
changeset 6884 11229144aa01
parent 6792 b2c4be19d7b1
parent 6877 1d38f3605b20
child 6948 359e93ceee3a
--- a/mercurial/patch.py	Sun Aug 10 18:38:43 2008 -0500
+++ b/mercurial/patch.py	Tue Aug 12 17:47:08 2008 +0200
@@ -1108,7 +1108,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])