Skip to content
Snippets Groups Projects
Commit dd3267698d84 authored by Aleix Conchillo Flaque's avatar Aleix Conchillo Flaque
Browse files

convert: add full description for gnu arch revisions

parent c9f615ab3082
No related branches found
No related tags found
No related merge requests found
......@@ -217,5 +217,6 @@
return changes, copies
def _parsecatlog(self, data, rev):
readingsummary = False
for l in data:
l = l.strip()
......@@ -220,8 +221,5 @@
for l in data:
l = l.strip()
if l.startswith('Summary:'):
self.changes[rev].summary = l[len('Summary: '):]
if l.startswith('Standard-date:'):
date = l[len('Standard-date: '):]
strdate = util.strdate(date, '%Y-%m-%d %H:%M:%S')
......@@ -230,6 +228,12 @@
if l.startswith('Creator:'):
self.changes[rev].author = l[len('Creator: '):]
if not readingsummary and l.startswith('Summary:'):
readingsummary = True
self.changes[rev].summary = l[len('Summary: '):]
elif not l.startswith('Keywords:'):
self.changes[rev].summary += '\n%s' % l
def _parsedelta(self, data, rev):
for l in data:
l = l.strip()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment