##// END OF EJS Templates
convert: handle new cvsps with Tags: and multiple tags.
Eric Hopper -
r4698:30e826bd default
parent child Browse files
Show More
@@ -50,10 +50,11 b' class convert_cvs(converter_source):'
50 self.parent[id] = self.lastbranch[ancestor]
50 self.parent[id] = self.lastbranch[ancestor]
51 elif l.startswith("Author"):
51 elif l.startswith("Author"):
52 author = self.recode(l[8:-1])
52 author = self.recode(l[8:-1])
53 elif l.startswith("Tag: "):
53 elif l.startswith("Tag:") or l.startswith("Tags:"):
54 t = l[5:-1].rstrip()
54 t = l[l.index(':')+1:]
55 if t != "(none)":
55 t = [ut.strip() for ut in t.split(',')]
56 self.tags[t] = id
56 if (len(t) > 1) or (t[0] and (t[0] != "(none)")):
57 self.tags.update(dict.fromkeys(t, id))
57 elif l.startswith("Log:"):
58 elif l.startswith("Log:"):
58 state = 1
59 state = 1
59 log = ""
60 log = ""
General Comments 0
You need to be logged in to leave comments. Login now