fix disappearing symlinks [issue1509]
authorPeter van Dijk <mercurial-bugs@selenic.com>
Sun, 15 Feb 2009 11:14:20 -0600
changeset 7770 fd3e5ff53a31
parent 7769 8c06d4bf2c23
child 7771 09d0fe02988d
fix disappearing symlinks [issue1509]
mercurial/archival.py
--- a/mercurial/archival.py	Tue Feb 10 16:11:48 2009 +0100
+++ b/mercurial/archival.py	Sun Feb 15 11:14:20 2009 -0600
@@ -96,6 +96,7 @@
             i.mode = 0777
             i.linkname = data
             data = None
+            i.size = 0
         else:
             i.mode = mode
             data = cStringIO.StringIO(data)