changeset 4689:54a2b94a372c

merge with main
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 23 Jun 2007 21:11:28 +0200
parents 39001f4b7d99 (current diff) 8f91264f154a (diff)
children ecea4de3104e
files
diffstat 2 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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