Mercurial .hgrc file

2019-06-16 04:13发布

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?

2条回答
Fickle 薄情
2楼-- · 2019-06-16 04:44

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

查看更多
▲ chillily
3楼-- · 2019-06-16 04:48

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

查看更多
登录 后发表回答