From patchwork Thu Feb 22 03:52:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D2366: narrowwirepeer: add some strkwargs to fix a crash on py3 From: phabricator X-Patchwork-Id: 28232 Message-Id: <89b2fa1daf57213627a6739b9b89bc2e@localhost.localdomain> To: mercurial-devel@mercurial-scm.org Date: Thu, 22 Feb 2018 03:52:06 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG87e950a070e6: narrowwirepeer: add some strkwargs to fix a crash on py3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2366?vs=5979&id=5982 REVISION DETAIL https://phab.mercurial-scm.org/D2366 AFFECTED FILES hgext/narrow/narrowwirepeer.py CHANGE DETAILS To: durin42, #hg-reviewers, indygreg Cc: indygreg, pulkit, mercurial-devel diff --git a/hgext/narrow/narrowwirepeer.py b/hgext/narrow/narrowwirepeer.py --- a/hgext/narrow/narrowwirepeer.py +++ b/hgext/narrow/narrowwirepeer.py @@ -45,8 +45,8 @@ # TODO: don't blindly add include/exclude wireproto # arguments to unbundle. include, exclude = repo.narrowpats - kwargs["includepats"] = ','.join(include) - kwargs["excludepats"] = ','.join(exclude) + kwargs[r"includepats"] = ','.join(include) + kwargs[r"excludepats"] = ','.join(exclude) return orig(cmd, *args, **kwargs) extensions.wrapfunction(peer, '_calltwowaystream', wrapped) hg.wirepeersetupfuncs.append(wirereposetup)