py3: add some b'' prefixes in hgext/convert/monotone.py
authorPulkit Goyal <pulkit@yandex-team.ru>
Tue, 05 Feb 2019 21:30:30 +0300
changeset 41573 83d62df28ab6
parent 41572 9b4a142a2035
child 41574 b436059c1cca
py3: add some b'' prefixes in hgext/convert/monotone.py # skip-blame because just b'' prefixes Differential Revision: https://phab.mercurial-scm.org/D5863
hgext/convert/monotone.py
--- 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