alias not honored
Pascal
patatetom at gmail.com
Thu Mar 4 11:22:14 UTC 2021
I added these aliases in ./.hg/hgrc and there was indeed
[ui]
verbose = True
in my ~/.hgrc !
it works much better now without this True ;-)
thanks
Le jeu. 4 mars 2021 à 11:55, Sushil Khanchi <sushilkhanchi97 at gmail.com> a
écrit :
> On Thu, Mar 4, 2021 at 4:15 PM Pascal <patatetom at gmail.com> wrote:
>
>> hi everybody,
>>
>> I want the status (st) command to be in quiet mode by default : how do I
>> do it ?
>> I tried to add the following entries in the [alias] section of my
>> configuration file :
>> status = status --quiet
>>
>
> FWIW, I tried the first one `status = status --quiet` and it worked fine.
> Maybe, local config overriding it somehow (if you are making changes to
> global config).
>
>> toto = status --quiet
>> status = !$HG status --quiet
>> the first alias doesn't work as expected : the status is displayed, but
>> the files untracked and ignored remain displayed.
>> the second alias is well taken into account, but behaves like the first
>> one and the files untracked and ignored are also displayed.
>> *the third alias was a **very, very, very, very bad idea**, especially as
>> root.*
>> thank you in advance for your help.
>> regards, lacsaP.
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at mercurial-scm.org
>> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210304/42eb2a43/attachment-0002.html>
More information about the Mercurial
mailing list