diff hgext3rd/topic/flow.py @ 4808:14c12df16ab5

python3: add raw prefix to edge-cases kwargs-like objects
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 06 Aug 2019 11:33:53 +0200
parents 92e3db149d7d
children 48b30ff742cb
line wrap: on
line diff
--- a/hgext3rd/topic/flow.py	Tue Aug 06 11:32:01 2019 +0200
+++ b/hgext3rd/topic/flow.py	Tue Aug 06 11:33:53 2019 +0200
@@ -80,8 +80,8 @@
         opargs = kwargs.get('opargs')
         if opargs is None:
             opargs = {}
-        newargs['opargs'] = opargs.copy()
-        newargs['opargs']['publish'] = True
+        newargs[r'opargs'] = opargs.copy()
+        newargs[r'opargs']['publish'] = True
     return orig(repo, remote, *args, **newargs)
 
 def extendpushoperation(orig, self, *args, **kwargs):