##// 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 25 obsolete,
26 26 phases,
27 27 pushkey,
28 pycompat,
28 29 scmutil,
29 30 sslutil,
30 31 streamclone,
@@ -1386,7 +1387,7 b' def _pullbundle2(pullop):'
1386 1387 kwargs['obsmarkers'] = True
1387 1388 pullop.stepsdone.add('obsmarkers')
1388 1389 _pullbundle2extraprepare(pullop, kwargs)
1389 bundle = pullop.remote.getbundle('pull', **kwargs)
1390 bundle = pullop.remote.getbundle('pull', **pycompat.strkwargs(kwargs))
1390 1391 try:
1391 1392 op = bundle2.processbundle(pullop.repo, bundle, pullop.gettransaction)
1392 1393 except bundle2.AbortFromPart as exc:
@@ -371,6 +371,7 b' class templateformatter(baseformatter):'
371 371 props['templ'] = self._t
372 372 props['repo'] = props['ctx'].repo()
373 373 props['revcache'] = {}
374 props = pycompat.strkwargs(props)
374 375 g = self._t(self._tref, ui=self._ui, cache=self._cache, **props)
375 376 self._out.write(templater.stringify(g))
376 377
General Comments 0
You need to be logged in to leave comments. Login now