changeset 34220:e3cd724231ff

exchange: hit opargs with pycompat.strkwargs before **-ing it Fixes Python 3 problems.
author Augie Fackler <raf@durin42.com>
date Sat, 16 Sep 2017 11:09:08 -0400
parents 21fc747e1bc5
children 8e0358024a36
files mercurial/exchange.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)