alias not honored

Sushil Khanchi sushilkhanchi97 at gmail.com
Thu Mar 4 10:55:15 UTC 2021


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/b6e0f764/attachment-0002.html>


More information about the Mercurial mailing list