D2366: narrowwirepeer: add some strkwargs to fix a crash on py3
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Feb 22 03:52:06 UTC 2018
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
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)
To: durin42, #hg-reviewers, indygreg
Cc: indygreg, pulkit, mercurial-devel
More information about the Mercurial-devel
mailing list