~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: John Arbash Meinel
  • Date: 2007-05-04 18:59:36 UTC
  • mto: This revision was merged to the branch mainline in revision 2643.
  • Revision ID: john@arbash-meinel.com-20070504185936-1mjdoqmtz74xe5mg
A C implementation of _fields_to_entry_0_parents drops the time from 400ms to 330ms for a 21k-entry tree

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
    )
34
38
from bzrlib.ui import CLIUIFactory
35
39
 
36
40
 
62
66
        """Emit prompt on the CLI."""
63
67
        self.stdout.write(prompt)
64
68
        
 
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
 
65
76
    def nested_progress_bar(self):
66
77
        """Return a nested progress bar.
67
78