~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/text.py

  • Committer: Robert Collins
  • Date: 2007-07-19 06:34:09 UTC
  • mto: (2592.3.46 repository)
  • mto: This revision was merged to the branch mainline in revision 2651.
  • Revision ID: robertc@robertcollins.net-20070719063409-stu9sckrxp8wp3mo
LIBRARY API BREAKS:

  * KnitIndex.get_parents now returns tuples. (Robert Collins)

INTERNALS:

  * Unused functions on the private interface KnitIndex have been removed.
    (Robert Collins)

  * New ``knit.KnitGraphIndex`` which provides a ``KnitIndex`` layered on top
    of a ``index.GraphIndex``. (Robert Collins)

  * New ``knit.KnitVersionedFile.iter_parents`` method that allows querying
    the parents of many knit nodes at once, reducing round trips to the 
    underlying index. (Robert Collins)

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