hg的配置文件分为全局配置和每个Repo自己的配置,Ubuntu系统下全局配置文件是~/.hgrc,Win7系统下是C:\Users\chad\mercurial.ini,各repo的配置文件是$REPO_PATH/.hg/hgrc. 常用配置 设置Repo的用户名 [ui] username = Your Name push/pull目标仓库 [paths] default = http://ip_or_hostname:8000/ repo1 = = https://user@bitbuck…