/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: Martin Pool
  • Date: 2009-06-26 03:29:57 UTC
  • mto: This revision was merged to the branch mainline in revision 4484.
  • Revision ID: mbp@sourcefrog.net-20090626032957-oe91zyznb3aztquu
(mbp) only show transport activity when progress is already visible

Show diffs side-by-side

added added

removed removed

Lines of Context:
246
246
        # XXX: Probably there should be a transport activity model, and that
247
247
        # too should be seen by the progress view, rather than being poked in
248
248
        # here.
 
249
        if not self._have_output:
 
250
            # As a workaround for <https://launchpad.net/bugs/321935> we only
 
251
            # show transport activity when there's already a progress bar
 
252
            # shown, which time the application code is expected to know to
 
253
            # clear off the progress bar when it's going to send some other
 
254
            # output.  Eventually it would be nice to have that automatically
 
255
            # synchronized.
 
256
            return
249
257
        self._total_byte_count += byte_count
250
258
        self._bytes_since_update += byte_count
251
259
        now = time.time()