# HG changeset patch # User Augie Fackler <r...@durin42.com> # Date 1505574548 14400 # Sat Sep 16 11:09:08 2017 -0400 # Node ID dc9245ad5a97f90930367bbfc56ed8fc76f41e7c # Parent 21fc747e1bc55489fea3858e97561b6553c17f94 exchange: hit opargs with pycompat.strkwargs before **-ing it
Fixes Python 3 problems. diff --git a/mercurial/exchange.py b/mercurial/exchange.py --- a/mercurial/exchange.py +++ b/mercurial/exchange.py @@ -423,7 +423,7 @@ def push(repo, remote, force=False, revs 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) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel