~bzr-pqm/bzr/bzr.dev

  • Committer: John Arbash Meinel
  • Date: 2012-09-06 11:19:35 UTC
  • mto: (6437.63.7 2.5)
  • Revision ID: john@arbash-meinel.com-20120906111935-m4p8prgxohkg9ywy
record_stream wasn't being iterated to completion.

This meant that we didn't always finalize a nested_progress_bar.
Which meant that our test suite thought we were at a depth >1.
Which meant that ProgressRecordingUIFactory was discarding
the update messages.
So wrap the progress bar in a try/finally. That way when the
generator exits, we get a proper cleanup.
Note that record_stream is generally driven by iterating the
stream and stepping it, so it isn't too surprising that
we weren't stepping that one final time to trigger generator
teardown.
Filename Latest Rev Last Changed Committer Comment Size
..
bzr-crashdb.conf 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. 174 bytes Diff Download File
README 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. 399 bytes Diff Download File
source_bzr.py 4797.33.16 14 years ago Robert Collins Update bugfix for 528114 to trunk. 1.4 KB Diff Download File