--- a/hgext/convert/gnuarch.py Mon Nov 04 09:52:13 2019 +0100
+++ b/hgext/convert/gnuarch.py Mon Nov 04 09:56:10 2019 +0100
@@ -302,22 +302,22 @@
# Commit date
self.changes[rev].date = dateutil.datestr(
- dateutil.strdate(catlog[b'Standard-date'], b'%Y-%m-%d %H:%M:%S')
+ dateutil.strdate(catlog[r'Standard-date'], b'%Y-%m-%d %H:%M:%S')
)
# Commit author
- self.changes[rev].author = self.recode(catlog[b'Creator'])
+ self.changes[rev].author = self.recode(catlog[r'Creator'])
# Commit description
self.changes[rev].summary = b'\n\n'.join(
- (catlog[b'Summary'], catlog.get_payload())
+ (catlog[r'Summary'], catlog.get_payload())
)
self.changes[rev].summary = self.recode(self.changes[rev].summary)
# Commit revision origin when dealing with a branch or tag
- if b'Continuation-of' in catlog:
+ if r'Continuation-of' in catlog:
self.changes[rev].continuationof = self.recode(
- catlog[b'Continuation-of']
+ catlog[r'Continuation-of']
)
except Exception:
raise error.Abort(_(b'could not parse cat-log of %s') % rev)