Show More
@@ -61,16 +61,20 b' class convert_git:' | |||
|
61 | 61 | n,v = e.split(" ", 1) |
|
62 | 62 | if n == "author": |
|
63 | 63 | p = v.split() |
|
64 |
|
|
|
64 | tm, tz = p[-2:] | |
|
65 | 65 | author = " ".join(p[:-2]) |
|
66 | 66 | if author[0] == "<": author = author[1:-1] |
|
67 | 67 | if n == "committer": |
|
68 | 68 | p = v.split() |
|
69 |
|
|
|
69 | tm, tz = p[-2:] | |
|
70 | 70 | committer = " ".join(p[:-2]) |
|
71 | 71 | if committer[0] == "<": committer = committer[1:-1] |
|
72 |
message += "\ncommitter: %s |
|
|
72 | message += "\ncommitter: %s\n" % v | |
|
73 | 73 | if n == "parent": parents.append(v) |
|
74 | ||
|
75 | tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:] | |
|
76 | tz = int(tzs) * (int(tzh) * 3600 + int(tzm)) | |
|
77 | date = tm + " " + str(tz) | |
|
74 | 78 | return (parents, author, date, message) |
|
75 | 79 | |
|
76 | 80 | def gettags(self): |
General Comments 0
You need to be logged in to leave comments.
Login now