Rev 4398: (Mattias Eriksson) Clear the terminal before outputing 'bzr ls' in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Tue Jun 2 16:39:09 BST 2009


At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

------------------------------------------------------------
revno: 4398
revision-id: pqm at pqm.ubuntu.com-20090602153906-1q6bresxw669b34i
parent: pqm at pqm.ubuntu.com-20090602144606-fbbsgi540zlly0pv
parent: snaggen at acc.umu.se-20090602091826-r55iaxfwy9fn1up3
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Tue 2009-06-02 16:39:06 +0100
message:
  (Mattias Eriksson) Clear the terminal before outputing 'bzr ls'
  	results.
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
    ------------------------------------------------------------
    revno: 4393.2.2
    revision-id: snaggen at acc.umu.se-20090602091826-r55iaxfwy9fn1up3
    parent: snaggen at acc.umu.se-20090601120020-9wr9pnqghiifwk2s
    committer: Mattias Eriksson <snaggen at acc.umu.se>
    branch nick: bzr.ls-fix
    timestamp: Tue 2009-06-02 11:18:26 +0200
    message:
      Fix to avoid possible race conditions if import ordering is changed.
    modified:
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
    ------------------------------------------------------------
    revno: 4393.2.1
    revision-id: snaggen at acc.umu.se-20090601120020-9wr9pnqghiifwk2s
    parent: pqm at pqm.ubuntu.com-20090530150110-c87w11jf6sqevh16
    committer: Mattias Eriksson <snaggen at acc.umu.se>
    branch nick: bzr.ls-fix
    timestamp: Mon 2009-06-01 14:00:20 +0200
    message:
      Clear the progress bar for cmd_ls before writing the output.
    modified:
      bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2009-05-30 06:21:01 +0000
+++ b/bzrlib/builtins.py	2009-06-02 09:18:26 +0000
@@ -2409,6 +2409,7 @@
                             continue
                     kindch = entry.kind_character()
                     outstring = fp + kindch
+                    ui.ui_factory.clear_term()
                     if verbose:
                         outstring = '%-8s %s' % (fc, outstring)
                         if show_ids and fid is not None:




More information about the bazaar-commits mailing list