/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/progress.py

  • Committer: Martin Pool
  • Date: 2009-01-21 06:01:17 UTC
  • mto: This revision was merged to the branch mainline in revision 3956.
  • Revision ID: mbp@sourcefrog.net-20090121060117-4c3xrje8jahq70uu
ProgressBarStack is deprecated

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    ui,
36
36
    )
37
37
from bzrlib.trace import mutter
 
38
from bzrlib.symbol_versioning import (
 
39
    deprecated_in,
 
40
    deprecated_method,
 
41
    )
38
42
 
39
43
 
40
44
def _supports_progress(f):
153
157
 
154
158
 
155
159
class ProgressBarStack(object):
156
 
    """A stack of progress bars."""
 
160
    """A stack of progress bars.
 
161
    
 
162
    This class is deprecated: instead, ask the ui factory for a new progress
 
163
    task and finish it when it's done.
 
164
    """
157
165
 
 
166
    @deprecated_method(deprecated_in((1, 12, 0)))
158
167
    def __init__(self,
159
168
                 to_file=None,
160
169
                 show_pct=False,