##// END OF EJS Templates
py3: use pycompat.strkwargs() to convert kwargs keys to str before passing
Pulkit Goyal -
r32896:e14484e7 default
parent child Browse files
Show More
@@ -25,6 +25,7 b' from . import ('
25 obsolete,
25 obsolete,
26 phases,
26 phases,
27 pushkey,
27 pushkey,
28 pycompat,
28 scmutil,
29 scmutil,
29 sslutil,
30 sslutil,
30 streamclone,
31 streamclone,
@@ -1386,7 +1387,7 b' def _pullbundle2(pullop):'
1386 kwargs['obsmarkers'] = True
1387 kwargs['obsmarkers'] = True
1387 pullop.stepsdone.add('obsmarkers')
1388 pullop.stepsdone.add('obsmarkers')
1388 _pullbundle2extraprepare(pullop, kwargs)
1389 _pullbundle2extraprepare(pullop, kwargs)
1389 bundle = pullop.remote.getbundle('pull', **kwargs)
1390 bundle = pullop.remote.getbundle('pull', **pycompat.strkwargs(kwargs))
1390 try:
1391 try:
1391 op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction)
1392 op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction)
1392 except bundle2.AbortFromPart as exc:
1393 except bundle2.AbortFromPart as exc:
@@ -371,6 +371,7 b' class templateformatter(baseformatter):'
371 props['templ'] = self._t
371 props['templ'] = self._t
372 props['repo'] = props['ctx'].repo()
372 props['repo'] = props['ctx'].repo()
373 props['revcache'] = {}
373 props['revcache'] = {}
374 props = pycompat.strkwargs(props)
374 g = self._t(self._tref, ui=self._ui, cache=self._cache, **props)
375 g = self._t(self._tref, ui=self._ui, cache=self._cache, **props)
375 self._out.write(templater.stringify(g))
376 self._out.write(templater.stringify(g))
376
377
General Comments 0
You need to be logged in to leave comments. Login now