diff -r b2601c5977a4 -r 60143d038eb7 mercurial/wireproto.py --- a/mercurial/wireproto.py Sun Oct 15 00:38:33 2017 -0400 +++ b/mercurial/wireproto.py Sun Oct 15 00:39:53 2017 -0400 @@ -859,7 +859,8 @@ _('server has pull-based clones disabled'), hint=_('remove --pull if specified or upgrade Mercurial')) - chunks = exchange.getbundlechunks(repo, 'serve', **opts) + chunks = exchange.getbundlechunks(repo, 'serve', + **pycompat.strkwargs(opts)) except error.Abort as exc: # cleanly forward Abort error to the client if not exchange.bundle2requested(opts.get('bundlecaps')):