Mercurial .hgrc file

岁酱吖の 提交于 2019-12-08 15:56:11

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!