[PATCH] bash/zsh completion: disable defaults and verbose output when completing
Brodie Rao
dackze at gmail.com
Tue May 26 09:17:48 CDT 2009
On May 26, 2009, at 10:11 AM, Dirkjan Ochtman wrote:
> On Tue, May 26, 2009 at 4:04 PM, Brodie Rao <dackze at gmail.com> wrote:
>> Well, I wanted to have the changes work with previous versions of
>> hg, but an
>> option to disable defaults would be nice.
>>
>> I looked at an earlier thread about adding a -D option to disable
>> defaults,
>> but I think that would be a little cumbersome for scripts trying to
>> support
>> versions of hg with and without the option. Maybe an environment
>> variable
>> would work better?
>
> Yeah, I think they were talking about an environment variable.
>
>> Also, would it make sense to roll ui.verbose=0 into that option?
>
> Not necessarily, I think? It might output useful information that
> scripts want. It might want to implicate interactive=no, though.
The idea would be to disable any hgrc settings that might change hg's
output. It wouldn't override -v if the script specifies it.
More information about the Mercurial-devel
mailing list