Mercurial > hg
changeset 36351:87e950a070e6
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 21 Feb 2018 11:56:51 -0500 |
parents | ff7a19ad7aa3 |
children | 5dbeddbf164a |
files | hgext/narrow/narrowwirepeer.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)