~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
..
bash 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
debian 4665.6.1 15 years ago John Ferlito Add a debian init script for bzr --serve Diff
emacs 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
zsh 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late Diff
File bzr_access 4183.7.1 15 years ago Sabin Iacob update FSF mailing address 7.6 KB Diff Download File
File bzr_ssh_path_limiter 3806.1.1 16 years ago Andrew Bennetts Add contrib/bzr_ssh_path_limiter. 550 bytes Diff Download File
convert_to_1.9.py 3823.3.2 16 years ago John Arbash Meinel Add a bit of help text when supplying --help. 5.1 KB Diff Download File
create_bzr_rollup.py 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 5.5 KB Diff Download File
upload-bzr.dev 1185.1.29 19 years ago Robert Collins merge merge tweaks from aaron, which includes late 829 bytes Diff Download File