By default on Windows XP Mercurial stores the .hgrc file in (well, in my case) c:\Documents and Settings\srooks\
. How can I change that location, and have it look for .hgrc file in, for example, c:\Configuration_Files
?
Can it be done at all?
By default on Windows XP Mercurial stores the .hgrc file in (well, in my case) c:\Documents and Settings\srooks\
. How can I change that location, and have it look for .hgrc file in, for example, c:\Configuration_Files
?
Can it be done at all?
You can move file to c:\Configuration_Files and create link to it in "Documents And Settings" folder. See mklink command.
Set up the HGRCPATH environment variable with the path to the configuration file.