equal
deleted
inserted
replaced
129 if i1 != -1: print "parent %s" % (h1) |
129 if i1 != -1: print "parent %s" % (h1) |
130 if i2 != -1: print "parent %s" % (h2) |
130 if i2 != -1: print "parent %s" % (h2) |
131 date_ar = changes[2] |
131 date_ar = changes[2] |
132 date = int(float(date_ar[0])) |
132 date = int(float(date_ar[0])) |
133 lines = changes[4].splitlines() |
133 lines = changes[4].splitlines() |
134 if lines[-1].startswith('committer:'): |
134 if lines and lines[-1].startswith('committer:'): |
135 committer = lines[-1].split(': ')[1].rstrip() |
135 committer = lines[-1].split(': ')[1].rstrip() |
136 else: |
136 else: |
137 committer = changes[1] |
137 committer = changes[1] |
138 |
138 |
139 print "author %s %s %s" % (changes[1], date, date_ar[1]) |
139 print "author %s %s %s" % (changes[1], date, date_ar[1]) |