# HG changeset patch # User Matt Mackall # Date 2007-06-23 19:02:41 # Node ID 8f91264f154aba47a779bffad6a6f660dd607622 # Parent 06a0e0557edc128720623de50966b9328cad9150 archive: remove spurious flag_bits setting This makes zip -T on resulting archives work. File permissions are still retained. diff --git a/mercurial/archival.py b/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