exchange: hit opargs with pycompat.strkwargs before **-ing it
authorAugie Fackler <raf@durin42.com>
Sat, 16 Sep 2017 11:09:08 -0400
changeset 34220 e3cd724231ff
parent 34219 21fc747e1bc5
child 34221 8e0358024a36
exchange: hit opargs with pycompat.strkwargs before **-ing it Fixes Python 3 problems.
mercurial/exchange.py
--- a/mercurial/exchange.py	Fri Sep 15 23:58:45 2017 +0900
+++ b/mercurial/exchange.py	Sat Sep 16 11:09:08 2017 -0400
@@ -423,7 +423,7 @@
     if opargs is None:
         opargs = {}
     pushop = pushoperation(repo, remote, force, revs, newbranch, bookmarks,
-                           **opargs)
+                           **pycompat.strkwargs(opargs))
     if pushop.remote.local():
         missing = (set(pushop.repo.requirements)
                    - pushop.remote.local().supported)