merge with main
authorThomas Arendsen Hein <thomas@intevation.de>
Sat, 23 Jun 2007 21:11:28 +0200
changeset 4689 54a2b94a372c
parent 4688 39001f4b7d99 (current diff)
parent 4685 8f91264f154a (diff)
child 4690 ecea4de3104e
merge with main
--- a/hgext/convert/git.py	Sat Jun 23 21:10:55 2007 +0200
+++ b/hgext/convert/git.py	Sat Jun 23 21:11:28 2007 +0200
@@ -82,6 +82,7 @@
         tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
         tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
         date = tm + " " + str(tz)
+        author = author or unknown
 
         c = commit(parents=parents, date=date, author=author, desc=message)
         return c
--- a/mercurial/archival.py	Sat Jun 23 21:10:55 2007 +0200
+++ b/mercurial/archival.py	Sat Jun 23 21:11:28 2007 +0200
@@ -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