##// END OF EJS Templates
convert cvs: Fix branch name parsing...
Mads Kiilerich -
r7441:4fecd17f default
parent child Browse files
Show More
@@ -103,18 +103,18 class convert_cvs(converter_source):
103 103 if maxrev and int(id) > maxrev:
104 104 # ignore everything
105 105 state = 3
106 elif l.startswith("Date"):
106 elif l.startswith("Date:"):
107 107 date = util.parsedate(l[6:-1], ["%Y/%m/%d %H:%M:%S"])
108 108 date = util.datestr(date)
109 elif l.startswith("Branch"):
109 elif l.startswith("Branch:"):
110 110 branch = l[8:-1]
111 111 self.parent[id] = self.lastbranch.get(branch, 'bad')
112 112 self.lastbranch[branch] = id
113 elif l.startswith("Ancestor branch"):
113 elif l.startswith("Ancestor branch:"):
114 114 ancestor = l[17:-1]
115 115 # figure out the parent later
116 116 self.parent[id] = self.lastbranch[ancestor]
117 elif l.startswith("Author"):
117 elif l.startswith("Author:"):
118 118 author = self.recode(l[8:-1])
119 119 elif l.startswith("Tag:") or l.startswith("Tags:"):
120 120 t = l[l.index(':')+1:]
General Comments 0
You need to be logged in to leave comments. Login now