Some debugging. Inside the main() function in bzrlib/commands.py is where we are doing the logging. At the point where we are ready to run the command:
ret = run_bzr_catch_errors(argv)
(pdb) bzrlib.ui.ui_factory._progress_view
<bzrlib.ui.text.TextProgressView object at 0x9ac42cc>
At the point where we are ready to print
bzrlib.ui.ui_factory.log_transport_activity(...)
(pdb) bzrlib.ui.ui_factory._progress_view
<bzrlib.ui.text.TextProgressView object at 0xa003f4c>
So something between when we start and when we finish is changing the _progress_view object. Note that I checked and the ui_factory object itself has not changed.
Some debugging. Inside the main() function in bzrlib/commands.py is where we are doing the logging. At the point where we are ready to run the command:
ret = run_bzr_ catch_errors( argv) ui.ui_factory. _progress_ view ui.text. TextProgressVie w object at 0x9ac42cc>
(pdb) bzrlib.
<bzrlib.
At the point where we are ready to print
bzrlib. ui.ui_factory. log_transport_ activity( ...) ui.ui_factory. _progress_ view ui.text. TextProgressVie w object at 0xa003f4c>
(pdb) bzrlib.
<bzrlib.
So something between when we start and when we finish is changing the _progress_view object. Note that I checked and the ui_factory object itself has not changed.