mercurial/exchange.py
changeset 32896 e14484e7f562
parent 32891 7e2eb964a561
child 32927 febd6bfa770d
--- a/mercurial/exchange.py	Sat Jun 17 14:53:25 2017 +0530
+++ b/mercurial/exchange.py	Sat Jun 17 15:05:11 2017 +0530
@@ -25,6 +25,7 @@
     obsolete,
     phases,
     pushkey,
+    pycompat,
     scmutil,
     sslutil,
     streamclone,
@@ -1386,7 +1387,7 @@
             kwargs['obsmarkers'] = True
             pullop.stepsdone.add('obsmarkers')
     _pullbundle2extraprepare(pullop, kwargs)
-    bundle = pullop.remote.getbundle('pull', **kwargs)
+    bundle = pullop.remote.getbundle('pull', **pycompat.strkwargs(kwargs))
     try:
         op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction)
     except bundle2.AbortFromPart as exc: