Not reading Mercurial.ini in Windows system
Steve Borho
steve at borho.org
Wed Oct 17 17:48:48 CDT 2007
On Wed, 2007-10-17 at 17:45 -0400, Bergquist, Jerome wrote:
> I have been using Mercurial on my Linux system for some time and I
> love it!
>
> I have just loaded it on my Windows system and cloned some projects. I
> created the %USERPROFILE%\Mercurial.ini as outlined in the HGRC(5)
> page and copied my Linux .hgrc configurations to it but it does not
> appear that hg is reading that file.
>
> When I commit changes I get prompted for the user name. The user name
> I type in DOES get written back to the %USERPROFILE%\Mercurial.ini but
> is not read next time and I get prompted again. I also changed some of
> the default command flags to see if they get read and they do not
> either.
It sounds like you're using one of my windows packages. I've not seen
any problems like this before. It seems hg-config is finding your
Mercurial.ini but Mercurial itself is not. Could you reply with the
output to these commands?
hg version
echo %HGRCPATH%
hg showconfig ui.username
hg config -g ui.username
> I created a C:\Mercurial folder and copiet that Mercurial.ini into as
> well and that did not work either. I have tried saving the
> Mercurial.ini as a DOS (CR/LF terminated) and as a Unix (LF
> terminated) file but that did not make a difference either. Is there
> something I am missing?
None of these should make any difference. The problem is in the hgrc
search path.
Cheers,
--
Steve Borho (steve at borho.org)
http://www.borho.org/~steve/steve.asc
Key fingerprint = 2D08 E7CF B624 624C DE1F E2E4 B0C2 5292 F2C6 2C8C
More information about the Mercurial
mailing list