py3: use raw string for key in **kwargs
Otherwise Python 3 is unhappy. We only set a single key here.
So I don't think pycompat.strkwargs() is necessary.
Differential Revision: https://phab.mercurial-scm.org/D2163
--- a/mercurial/bundle2.py Sun Feb 11 16:50:45 2018 -0800
+++ b/mercurial/bundle2.py Sun Feb 11 16:54:56 2018 -0800
@@ -1729,7 +1729,7 @@
extrakwargs = {}
targetphase = inpart.params.get('targetphase')
if targetphase is not None:
- extrakwargs['targetphase'] = int(targetphase)
+ extrakwargs[r'targetphase'] = int(targetphase)
ret = _processchangegroup(op, cg, tr, 'bundle2', 'bundle2',
expectedtotal=nbchangesets, **extrakwargs)
if op.reply is not None: