~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/commands.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-01-15 07:34:16 UTC
  • mfrom: (3882.7.17 progress)
  • Revision ID: pqm@pqm.ubuntu.com-20090115073416-vnzvkab4dfesetj0
(mbp) transport-based progress bars

Show diffs side-by-side

added added

removed removed

Lines of Context:
868
868
 
869
869
def main(argv):
870
870
    import bzrlib.ui
871
 
    from bzrlib.ui.text import TextUIFactory
872
 
    bzrlib.ui.ui_factory = TextUIFactory()
 
871
    bzrlib.ui.ui_factory = bzrlib.ui.make_ui_for_terminal(
 
872
        sys.stdin, sys.stdout, sys.stderr)
873
873
 
874
874
    # Is this a final release version? If so, we should suppress warnings
875
875
    if bzrlib.version_info[3] == 'final':