try:
return self.run(**all_cmd_args)
finally:
# reset it, so that other commands run in the same process won't
# inherit state trace.set_verbosity_level(0)
That final set_verbosity_level(0) resets the _progress_view state, and it happens *before* we fall all the way back out to main() to decide that we want to log how many bytes are transferred.
Found it in bzrlib.commands.py:
try: **all_cmd_ args)
trace. set_verbosity_ level(0)
return self.run(
finally:
# reset it, so that other commands run in the same process won't
# inherit state
That final set_verbosity_ level(0) resets the _progress_view state, and it happens *before* we fall all the way back out to main() to decide that we want to log how many bytes are transferred.