Rev 4276: (Jelmer) Hide transport direction in progress bar if it is unknown. in file:///home/pqm/archives/thelove/bzr/%2Btrunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Apr 9 04:30:05 BST 2009


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

------------------------------------------------------------
revno: 4276
revision-id: pqm at pqm.ubuntu.com-20090409033000-rh4or6a6adg7k7c9
parent: pqm at pqm.ubuntu.com-20090408225022-exxekai8bxhxrayk
parent: jelmer at samba.org-20090407134451-atb4nzjctmnemtjc
committer: Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2009-04-09 04:30:00 +0100
message:
  (Jelmer) Hide transport direction in progress bar if it is unknown.
modified:
  bzrlib/ui/text.py              text.py-20051130153916-2e438cffc8afc478
    ------------------------------------------------------------
    revno: 4258.2.2
    revision-id: jelmer at samba.org-20090407134451-atb4nzjctmnemtjc
    parent: jelmer at samba.org-20090406213525-owlpwm13wozkc93k
    committer: Jelmer Vernooij <jelmer at samba.org>
    branch nick: hide-unknown-direction
    timestamp: Tue 2009-04-07 15:44:51 +0200
    message:
      keep the width of the progress bar the same.
    modified:
      bzrlib/ui/text.py              text.py-20051130153916-2e438cffc8afc478
    ------------------------------------------------------------
    revno: 4258.2.1
    revision-id: jelmer at samba.org-20090406213525-owlpwm13wozkc93k
    parent: pqm at pqm.ubuntu.com-20090406190443-d2e9bmch7wb8p7u1
    committer: Jelmer Vernooij <jelmer at samba.org>
    branch nick: hide-unknown-direction
    timestamp: Mon 2009-04-06 23:35:25 +0200
    message:
      Hide the transport direction in the progress bar if it is unknown.
    modified:
      bzrlib/ui/text.py              text.py-20051130153916-2e438cffc8afc478
=== modified file 'bzrlib/ui/text.py'
--- a/bzrlib/ui/text.py	2009-04-02 10:43:01 +0000
+++ b/bzrlib/ui/text.py	2009-04-07 13:44:51 +0000
@@ -242,7 +242,7 @@
             elif direction == 'write':
                 dir_char = '<'
             else:
-                dir_char = '?'
+                dir_char = ' '
             msg = ("%.7s %s %6dKB %5dKB/s" %
                     (scheme, dir_char, self._total_byte_count>>10, int(rate)>>10,))
             self._transport_update_time = now




More information about the bazaar-commits mailing list