# HG changeset patch # User Augie Fackler # Date 1505574548 14400 # Node ID e3cd724231ffaf4227dacb131a832564a15982cc # Parent 21fc747e1bc55489fea3858e97561b6553c17f94 exchange: hit opargs with pycompat.strkwargs before **-ing it Fixes Python 3 problems. diff -r 21fc747e1bc5 -r e3cd724231ff 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)