# HG changeset patch # User Augie Fackler # Date 2018-02-21 16:56:51 # Node ID 87e950a070e6ce3a215b213abf642f7b5a71e325 # Parent ff7a19ad7aa38038aa1ea0d616ee1550262c4253 narrowwirepeer: add some strkwargs to fix a crash on py3 # skip-blame because it's just some r prefixes Differential Revision: https://phab.mercurial-scm.org/D2366 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 @@ def reposetup(repo): # 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)