Patchwork D1109: wireproto: more strkwargs cleanup

login
register
mail settings
Submitter phabricator
Date Oct. 16, 2017, 1:51 p.m.
Message ID <differential-rev-PHID-DREV-svl4mwyj5wk6nnagdnsi-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/24990/
State Superseded
Headers show

Comments

phabricator - Oct. 16, 2017, 1:51 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1109

AFFECTED FILES
  mercurial/wireproto.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/wireproto.py b/mercurial/wireproto.py
--- a/mercurial/wireproto.py
+++ b/mercurial/wireproto.py
@@ -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')):