--- 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)