changeset 4685:8f91264f154a

archive: remove spurious flag_bits setting This makes zip -T on resulting archives work. File permissions are still retained.
author Matt Mackall <mpm@selenic.com>
date Sat, 23 Jun 2007 14:02:41 -0500
parents 06a0e0557edc
children 54a2b94a372c
files mercurial/archival.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/archival.py	Sat Jun 23 13:33:45 2007 -0500
+++ b/mercurial/archival.py	Sat Jun 23 14:02:41 2007 -0500
@@ -133,7 +133,6 @@
     def addfile(self, name, mode, data):
         i = zipfile.ZipInfo(self.prefix + name, self.date_time)
         i.compress_type = self.z.compression
-        i.flag_bits = 0x08
         # unzip will not honor unix file modes unless file creator is
         # set to unix (id 3).
         i.create_system = 3