Mercurial > hg-stable
diff mercurial/debugcommands.py @ 35386:c0b6fa74e007
debugformat: flush formatter output per item
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 10 Dec 2017 19:39:39 +0900 |
parents | 740d40ec15c3 |
children | 9144e898cad5 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Sat Dec 09 19:42:51 2017 -0600 +++ b/mercurial/debugcommands.py Sun Dec 10 19:39:39 2017 +0900 @@ -888,8 +888,8 @@ if ui.verbose: fm.plain(' config default') fm.plain('\n') - fm.startitem() for fv in upgrade.allformatvariant: + fm.startitem() repovalue = fv.fromrepo(repo) configvalue = fv.fromconfig(repo) @@ -916,6 +916,7 @@ fm.condwrite(ui.verbose, 'default', ' %7s', formatvalue(fv.default), label='formatvariant.default') fm.plain('\n') + fm.end() @command('debugfsinfo', [], _('[PATH]'), norepo=True) def debugfsinfo(ui, path="."):