changeset 7770:fd3e5ff53a31

fix disappearing symlinks [issue1509]
author Peter van Dijk <mercurial-bugs@selenic.com>
date Sun, 15 Feb 2009 11:14:20 -0600
parents 8c06d4bf2c23
children 09d0fe02988d
files mercurial/archival.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)