contrib/convert-repo
changeset 2093 5cc414722587
parent 1715 40346aa66b0f
child 2649 e6a7a6a33a62
equal deleted inserted replaced
2092:1d3c6e63d703 2093:5cc414722587
    71                 if committer[0] == "<": committer = committer[1:-1]
    71                 if committer[0] == "<": committer = committer[1:-1]
    72                 message += "\ncommitter: %s\n" % v
    72                 message += "\ncommitter: %s\n" % v
    73             if n == "parent": parents.append(v)
    73             if n == "parent": parents.append(v)
    74 
    74 
    75         tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
    75         tzs, tzh, tzm = tz[-5:-4] + "1", tz[-4:-2], tz[-2:]
    76         tz = int(tzs) * (int(tzh) * 3600 + int(tzm))
    76         tz = -int(tzs) * (int(tzh) * 3600 + int(tzm))
    77         date = tm + " " + str(tz)
    77         date = tm + " " + str(tz)
    78         return (parents, author, date, message)
    78         return (parents, author, date, message)
    79 
    79 
    80     def gettags(self):
    80     def gettags(self):
    81         tags = {}
    81         tags = {}