archive: remove spurious flag_bits setting
authorMatt Mackall <mpm@selenic.com>
Sat, 23 Jun 2007 14:02:41 -0500
changeset 4685 8f91264f154a
parent 4684 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	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