##// END OF EJS Templates
py3: use raw string to query EmailMessage in gnuarch converter
Denis Laxalde -
r43700:0f890ce1 stable
parent child Browse files
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[b'Standard-date'], b'%Y-%m-%d %H:%M:%S')
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[b'Creator'])
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[b'Summary'], catlog.get_payload())
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 b'Continuation-of' in catlog:
318 if r'Continuation-of' in catlog:
319 self.changes[rev].continuationof = self.recode(
319 self.changes[rev].continuationof = self.recode(
320 catlog[b'Continuation-of']
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