[Windows: A BUG?]

Uwe Brauer oub at mat.ucm.es
Sat Apr 10 06:34:52 UTC 2021


>>> "J" == Johannes  <hguser at bbe-moldaenke.de> writes:

> Uwe Brauer asked:
>> 1. Why did hg config --edit opened the local hgrc file in windows, I
>> checked this in Linux
>> hg config --edit opens the user specific one

> For me it works as expected even on Windows.

>     hg config --edit

> for sure opens my local hgrc while

>     hg config --local

> opens reposity specific hgrc. So I cannot see any bug here.

I will talk to him again, very odd.


>> 2. Any idea where in Windows the user specific hgrc file is located?

> On Windows you can use this command to edit user specific hgrc:

>     notepad %USERPROFILE%\.hgrc

> If you have used TortoiseHg to manage settings then there may be
> "Mercurial.ini" instead. If you have that file just rename it to
> ".hgrc", TortoiseHg will honor it.

He told me that he is using indeed TortoiseHg, so I will tell him, thanks!

> That's not true the other way round: hg will not honor "Mercurial.ini"
> if it is present.


> Best regards

> Johannes
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20210410/d090b595/attachment.p7s>


More information about the Mercurial mailing list