D5863: py3: add some b'' prefixes in hgext/convert/monotone.py

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Tue Feb 5 17:45:50 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG83d62df28ab6: py3: add some b'' prefixes in hgext/convert/monotone.py (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5863?vs=13830&id=13834

REVISION DETAIL
  https://phab.mercurial-scm.org/D5863

AFFECTED FILES
  hgext/convert/monotone.py

CHANGE DETAILS

diff --git a/hgext/convert/monotone.py b/hgext/convert/monotone.py
--- a/hgext/convert/monotone.py
+++ b/hgext/convert/monotone.py
@@ -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



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list