Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/debugcommands.py @ 33114:1b6946f87c50
py3: use pycompat.strkwargs() to convert kwargs keys to str
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Tue, 27 Jun 2017 00:23:32 +0530 |
parents | b257aaa0743a |
children | 2f812b0d1936 |
comparison
equal
deleted
inserted
replaced
33113:b257aaa0743a | 33114:1b6946f87c50 |
---|---|
2163 props['ui'] = ui | 2163 props['ui'] = ui |
2164 ui.write(t.render(props)) | 2164 ui.write(t.render(props)) |
2165 else: | 2165 else: |
2166 displayer = cmdutil.makelogtemplater(ui, repo, tmpl) | 2166 displayer = cmdutil.makelogtemplater(ui, repo, tmpl) |
2167 for r in revs: | 2167 for r in revs: |
2168 displayer.show(repo[r], **props) | 2168 displayer.show(repo[r], **pycompat.strkwargs(props)) |
2169 displayer.close() | 2169 displayer.close() |
2170 | 2170 |
2171 @command('debugupdatecaches', []) | 2171 @command('debugupdatecaches', []) |
2172 def debugupdatecaches(ui, repo, *pats, **opts): | 2172 def debugupdatecaches(ui, repo, *pats, **opts): |
2173 """warm all known caches in the repository""" | 2173 """warm all known caches in the repository""" |