brz 0.8.2 - Disable progress bar and enable it only on -v option

Jari Aalto+mail.emacs jari.aalto at cante.net
Thu Jun 15 12:55:04 BST 2006


* Wed 2006-06-14 John Arbash Meinel <john AT arbash-meinel.com>
* Message-Id: 4490C9DB.60004 AT arbash-meinel.com
> Jari Aalto+mail.emacs wrote:
>
>> * Wed 2006-06-14 Stefan Reichör <stefan AT xsteve.at>
>> * Message-Id: m0irn49now.fsf AT ger-fae.com
>>> jari.aalto AT cante.net (Jari Aalto+usenet) writes:
>>>
>>>> Hi,
>>>>
>>>> I'd like to propose that the new progress bar added would be disabled
>>>> by default. 
>>>>
>>>> 1. Through remote modem connection the extra characters displayed in
>>>>    rapid succession for many files drains up the bandwidth.
>>>>
>>>> 2. In local machine the screen flickers constantly on adds.
>>>>    The operations are so fast, so the value of progress bar
>>>>    go unnoticed (the flickering is a bit disturbing).
>>>>
>>>> It's good that most of the commands do not return no output at
>>>> all in default state, which is good for slow connections.
>>> I have also noticed the flickering when using the command line
>>> client.
>>>
>>> A related problem is, that committing via DVC.el shows the progress
>>> bar as garbage in the bzr output buffer.
>>>
>>> So it would be really nice to have a way to switch that progress bar
>>> off.
>>>
>>> The following ideas could be implemented:
>>> * a --no-progressbar command line switch
>>> * a --show-progressbar command line switch
>>> * a setting in a configuration file (not sure which one and how many
>>>   aspects should be configurable)
>> 
>> Bette is concept: "be conservative". Options should be turned on to
>> increase things, so I vote:
>> 
>>   --show-progressbar
>> 
>> This should also be possible to set in bzr configuration file.
>> 
>> Jari
>> 
>
> Well, bzr the command line client should chose reasonable options for a
> command line/user interactive process.
..
> flag. I think we have the '-q' flag, but it might be too much.

The `-q' is used commonly to supress informational output. The
progress bar is something other than "messages"; on category of it's
own.

In normal use the progress bar does not offer any useful information,
because it just flickers and causes slowdown on modem connections (try
48k modem), so it should have separate option to turn it on.

I can see where progress bar could be useful:

- importing big projects 
- with bug files
- using slow hard disk or remote (slow) network connections

But for regular local disk use, it is not necessary.

Jari





More information about the bazaar mailing list