--- 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