[PATCH] progress: document progress.disable config option

Steve Borho steve at borho.org
Thu Mar 11 21:05:20 CST 2010


On Thu, Mar 11, 2010 at 6:09 PM, TK Soh <teekaysoh at gmail.com> wrote:
> On Thu, Mar 11, 2010 at 10:54 PM, Augie Fackler <durin42 at gmail.com> wrote:
>> # HG changeset patch
>> # User Augie Fackler <durin42 at gmail.com>
>> # Date 1268348074 21600
>> # Node ID ea674980315f4ea8100702bd96b4eac051018383
>> # Parent  f63fb5c0cf67be1a7bc8ae485eacfdffb840a21a
>> progress: document progress.disable config option
>>
>> diff --git a/hgext/progress.py b/hgext/progress.py
>> --- a/hgext/progress.py
>> +++ b/hgext/progress.py
>> @@ -32,6 +32,7 @@
>>   width = <none> # if set, the maximum width of the progress information
>>                  # (that is, min(width, term width) will be used)
>>   clear-complete = True # clear the progress bar after it's done
>> +  disable = False # if true, don't show a progress bar
>>
>>  Valid entries for the format field are topic, bar, number, unit, and
>>  item. item defaults to the last 20 characters of the item, but this
>
> Just feel little strange on the need of 'disable'. Why enable the
> extension (via extensions section) and disable it (in progress
> section) later? Any use case?

It causes garbage to be displayed in the tortoisehg command windows.
This could probably be fixed properly, but the problem was found right
before 1.5 was released, and needed a workaround.

--
Steve Borho


More information about the Mercurial-devel mailing list