# HG changeset patch # User Augie Fackler # Date 1519232211 18000 # 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 -r ff7a19ad7aa3 -r 87e950a070e6 hgext/narrow/narrowwirepeer.py --- a/hgext/narrow/narrowwirepeer.py Wed Feb 21 12:03:44 2018 -0500 +++ b/hgext/narrow/narrowwirepeer.py Wed Feb 21 11:56:51 2018 -0500 @@ -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)