##// END OF EJS Templates
merge with main
Thomas Arendsen Hein -
r4689:54a2b94a merge default
parent child Browse files
Show More
@@ -82,6 +82,7 b' class convert_git(converter_source):'
82 tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
82 tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
83 tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
83 tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
84 date = tm + " " + str(tz)
84 date = tm + " " + str(tz)
85 author = author or unknown
85
86
86 c = commit(parents=parents, date=date, author=author, desc=message)
87 c = commit(parents=parents, date=date, author=author, desc=message)
87 return c
88 return c
@@ -133,7 +133,6 b' class zipit:'
133 def addfile(self, name, mode, data):
133 def addfile(self, name, mode, data):
134 i = zipfile.ZipInfo(self.prefix + name, self.date_time)
134 i = zipfile.ZipInfo(self.prefix + name, self.date_time)
135 i.compress_type = self.z.compression
135 i.compress_type = self.z.compression
136 i.flag_bits = 0x08
137 # unzip will not honor unix file modes unless file creator is
136 # unzip will not honor unix file modes unless file creator is
138 # set to unix (id 3).
137 # set to unix (id 3).
139 i.create_system = 3
138 i.create_system = 3
General Comments 0
You need to be logged in to leave comments. Login now