Mercurial > hg
diff hgext/convert/monotone.py @ 41573:83d62df28ab6
py3: add some b'' prefixes in hgext/convert/monotone.py
# skip-blame because just b'' prefixes
Differential Revision: https://phab.mercurial-scm.org/D5863
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Tue, 05 Feb 2019 21:30:30 +0300 |
parents | 9b4a142a2035 |
children | d26bfbf419f9 |
line wrap: on
line diff
--- a/hgext/convert/monotone.py Tue Feb 05 21:29:55 2019 +0300 +++ b/hgext/convert/monotone.py Tue Feb 05 21:30:30 2019 +0300 @@ -219,8 +219,8 @@ m = self.cert_re.match(e) if m: name, value = m.groups() - value = value.replace(r'\"', '"') - value = value.replace(r'\\', '\\') + value = value.replace(br'\"', '"') + value = value.replace(br'\\', '\\') certs[name] = value # Monotone may have subsecond dates: 2005-02-05T09:39:12.364306 # and all times are stored in UTC