contrib/convert-repo
changeset 4110 b53c6f7dbb1f
parent 4109 59de487f43d7
child 4114 d5011e347476
equal deleted inserted replaced
4109:59de487f43d7 4110:b53c6f7dbb1f
   100                         ancestor = l[17:-1]
   100                         ancestor = l[17:-1]
   101                         self.parent[id] = self.lastbranch[ancestor]
   101                         self.parent[id] = self.lastbranch[ancestor]
   102                     elif l.startswith("Author"):
   102                     elif l.startswith("Author"):
   103                         author = self.recode(l[8:-1])
   103                         author = self.recode(l[8:-1])
   104                     elif l.startswith("Tag: "):
   104                     elif l.startswith("Tag: "):
   105                         t = l[5:-1]
   105                         t = l[5:-1].rstrip()
   106                         if t != "(none) ":
   106                         if t != "(none)":
   107                             self.tags[t] = id
   107                             self.tags[t] = id
   108                     elif l.startswith("Log:"):
   108                     elif l.startswith("Log:"):
   109                         state = 1
   109                         state = 1
   110                         log = ""
   110                         log = ""
   111                 elif state == 1: # log
   111                 elif state == 1: # log