[Windows: A BUG?] (was: how to configure the global .hgrc file from the commandline)
Uwe Brauer
oub at mat.ucm.es
Thu Apr 8 12:27:12 UTC 2021
>>> "AF" == Augie Fackler <raf at durin42.com> writes:
Hi
This thread is a bit old, but today I got another question of a
colleague of mine, who uses windows (I am only acquainted with Linux and
Mac).
> hg config --edit # edits the user-specific hgrc, which is probably what you want
> hg config --global # edits the machine-global hgrc, almost never what you want
> hg config --local # edits the .hg/hgrc file
He used
hg config --edit
In the repository
and that opened edits the .hg/hgrc file
He wants however to edit is user-specific one.
He and I have no idea where the user specific file is located in
Windows. (In Linux mac it is in the home directory /home/user or
/Users/user
under the name .hgrc)
So two questions
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
2. Any idea where in Windows the user specific hgrc file is located?
Regards
Uwe Brauer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5673 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial/attachments/20210408/66976ddd/attachment.bin>
More information about the Mercurial
mailing list