Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mercurial .hgrc file

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?

like image 996
Rook Avatar asked Oct 04 '10 22:10

Rook


2 Answers

Set up the HGRCPATH environment variable with the path to the configuration file.

like image 167
AndiDog Avatar answered Oct 19 '22 19:10

AndiDog


You can move file to c:\Configuration_Files and create link to it in "Documents And Settings" folder. See mklink command.

like image 44
ceth Avatar answered Oct 19 '22 18:10

ceth