~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
..
README 5240.2.1 14 years ago Martin von Gagern Drop outdated shell completion for zsh. The new R 1 KB Diff Download File