Show More
@@ -302,22 +302,22 b' class gnuarch_source(common.converter_so' | |||||
302 |
|
302 | |||
303 | # Commit date |
|
303 | # Commit date | |
304 | self.changes[rev].date = dateutil.datestr( |
|
304 | self.changes[rev].date = dateutil.datestr( | |
305 |
dateutil.strdate(catlog[ |
|
305 | dateutil.strdate(catlog[r'Standard-date'], b'%Y-%m-%d %H:%M:%S') | |
306 | ) |
|
306 | ) | |
307 |
|
307 | |||
308 | # Commit author |
|
308 | # Commit author | |
309 |
self.changes[rev].author = self.recode(catlog[ |
|
309 | self.changes[rev].author = self.recode(catlog[r'Creator']) | |
310 |
|
310 | |||
311 | # Commit description |
|
311 | # Commit description | |
312 | self.changes[rev].summary = b'\n\n'.join( |
|
312 | self.changes[rev].summary = b'\n\n'.join( | |
313 |
(catlog[ |
|
313 | (catlog[r'Summary'], catlog.get_payload()) | |
314 | ) |
|
314 | ) | |
315 | self.changes[rev].summary = self.recode(self.changes[rev].summary) |
|
315 | self.changes[rev].summary = self.recode(self.changes[rev].summary) | |
316 |
|
316 | |||
317 | # Commit revision origin when dealing with a branch or tag |
|
317 | # Commit revision origin when dealing with a branch or tag | |
318 |
if |
|
318 | if r'Continuation-of' in catlog: | |
319 | self.changes[rev].continuationof = self.recode( |
|
319 | self.changes[rev].continuationof = self.recode( | |
320 |
catlog[ |
|
320 | catlog[r'Continuation-of'] | |
321 | ) |
|
321 | ) | |
322 | except Exception: |
|
322 | except Exception: | |
323 | raise error.Abort(_(b'could not parse cat-log of %s') % rev) |
|
323 | raise error.Abort(_(b'could not parse cat-log of %s') % rev) |
General Comments 0
You need to be logged in to leave comments.
Login now