parsers: factor out code to create a presized dict
In upcoming patches we'll expose this as an API.
progress: respect ui.quiet (
issue4726)
Caught when I was running the hgsubversion testsuite and it started
printing progress bars over top of my test output lines.