Patchwork D2356: py3: add a r'' prefix to prevent transformer from adding b''

login
register
mail settings
Submitter phabricator
Date Feb. 20, 2018, 1:34 p.m.
Message ID <50b95b3062fc7407f22d6fe66424a242@localhost.localdomain>
Download mbox | patch
Permalink /patch/28169/
State Not Applicable
Headers show

Comments

phabricator - Feb. 20, 2018, 1:34 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG1eee42aed306: py3: add a r&#039;&#039; prefix to prevent transformer from adding b&#039;&#039; (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2356?vs=5924&id=5934

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

AFFECTED FILES
  hgext/convert/monotone.py

CHANGE DETAILS




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

Patch

diff --git a/hgext/convert/monotone.py b/hgext/convert/monotone.py
--- a/hgext/convert/monotone.py
+++ b/hgext/convert/monotone.py
@@ -85,7 +85,7 @@ 
             return self.mtnrunsingle(*args, **kwargs)
 
     def mtnrunsingle(self, *args, **kwargs):
-        kwargs['d'] = self.path
+        kwargs[r'd'] = self.path
         return self.run0('automate', *args, **kwargs)
 
     def mtnrunstdio(self, *args, **kwargs):