py3: add a r'' prefix to prevent transformer from adding b''
authorPulkit Goyal <7895pulkit@gmail.com>
Mon, 19 Feb 2018 23:46:42 +0530
changeset 36330 1eee42aed306
parent 36329 93943eef696f
child 36331 e218830f6f0a
py3: add a r'' prefix to prevent transformer from adding b'' # skip-blame as only r'' prefix was added Differential Revision: https://phab.mercurial-scm.org/D2356
hgext/convert/monotone.py
--- a/hgext/convert/monotone.py	Mon Feb 19 23:44:41 2018 +0530
+++ b/hgext/convert/monotone.py	Mon Feb 19 23:46:42 2018 +0530
@@ -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):