问题
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?
回答1:
Set up the HGRCPATH environment variable with the path to the configuration file.
回答2:
You can move file to c:\Configuration_Files and create link to it in "Documents And Settings" folder. See mklink command.
来源:https://stackoverflow.com/questions/3859762/mercurial-hgrc-file