Show More
@@ -280,7 +280,12 b' class changelog(revlog):' | |||||
280 |
|
280 | |||
281 | def add(self, manifest, list, desc, transaction, p1=None, p2=None, |
|
281 | def add(self, manifest, list, desc, transaction, p1=None, p2=None, | |
282 | user=None, date=None): |
|
282 | user=None, date=None): | |
283 | date = date or "%d %d" % (time.time(), time.timezone) |
|
283 | if date: | |
|
284 | date = util.date_parser(date) | |||
|
285 | else: | |||
|
286 | if time.daylight: offset = time.altzone | |||
|
287 | else: offset = time.timezone | |||
|
288 | date = "%d %d" % (time.time(), offset) | |||
284 | list.sort() |
|
289 | list.sort() | |
285 | l = [hex(manifest), user, date] + list + ["", desc] |
|
290 | l = [hex(manifest), user, date] + list + ["", desc] | |
286 | text = "\n".join(l) |
|
291 | text = "\n".join(l) |
General Comments 0
You need to be logged in to leave comments.
Login now