~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: Aaron Bentley
  • Date: 2007-08-21 01:32:29 UTC
  • mfrom: (2727 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2736.
  • Revision ID: aaron.bentley@utoronto.ca-20070821013229-miopsemz249tv0bl
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    )
32
32
""")
33
33
 
34
 
from bzrlib.symbol_versioning import (
35
 
    deprecated_method,
36
 
    zero_eight,
37
 
    )
38
34
from bzrlib.ui import CLIUIFactory
39
35
 
40
36
 
66
62
        """Emit prompt on the CLI."""
67
63
        self.stdout.write(prompt)
68
64
        
69
 
    @deprecated_method(zero_eight)
70
 
    def progress_bar(self):
71
 
        """See UIFactory.nested_progress_bar()."""
72
 
        # this in turn is abstract, and creates either a tty or dots
73
 
        # bar depending on what we think of the terminal
74
 
        return progress.ProgressBar()
75
 
 
76
65
    def nested_progress_bar(self):
77
66
        """Return a nested progress bar.
78
67