archive: remove spurious flag_bits setting
authorMatt Mackall <mpm@selenic.com>
Sat, 23 Jun 2007 14:02:41 -0500
changeset 4688 8f91264f154a
parent 4687 06a0e0557edc
child 4689 54a2b94a372c
archive: remove spurious flag_bits setting This makes zip -T on resulting archives work. File permissions are still retained.
mercurial/archival.py
--- a/mercurial/archival.py
+++ b/mercurial/archival.py
@@ -133,7 +133,6 @@ class zipit:
     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