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

login
register
mail settings
Submitter phabricator
Date Feb. 19, 2018, 6:39 p.m.
Message ID <differential-rev-PHID-DREV-y4mxrcc6vjxoc3zuopxu-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/28162/
State Superseded
Headers show

Comments

phabricator - Feb. 19, 2018, 6:39 p.m.
pulkit created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  1. skip-blame as only r'' prefix was added

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/convert/monotone.py

CHANGE DETAILS




To: pulkit, #hg-reviewers
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):