Mercurial .hgrc文件 [英] Mercurial .hgrc file

查看:118
本文介绍了Mercurial .hgrc文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

默认情况下,在Windows XP上,Mercurial将.hgrc文件存储在c:\Documents and Settings\srooks\中.如何更改该位置,并使其在例如c:\Configuration_Files的.hgrc文件中查找?

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 ?

能做到吗?

推荐答案

设置 HGRCPATH 环境变量以及配置文件的路径.

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

这篇关于Mercurial .hgrc文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆