809
备注:
|
1219
|
删除的内容标记成这样。 | 加入的内容标记成这样。 |
行号 4: | 行号 4: |
== 服务器 == 创建一个hgweb.conf {{{ [paths] / = /path/to/repos/* [web] style = gitweb allow_push = * allow_archive = gz zip bz2 contact = Zhongke Chen description = description for all repos }}} 在每个repo目录下创建repo/.hg/hgrc文件: {{{ [web] description = description for this repo }}} 启动内建服务器 {{{ hg serve -d --webdir-conf path/to/hgweb.conf }}} |
安装
TortoiseHG (Windows下图形客户端) http://tortoisehg.bitbucket.org/
服务器
创建一个hgweb.conf
[paths] / = /path/to/repos/* [web] style = gitweb allow_push = * allow_archive = gz zip bz2 contact = Zhongke Chen description = description for all repos
在每个repo目录下创建repo/.hg/hgrc文件:
[web] description = description for this repo
启动内建服务器
hg serve -d --webdir-conf path/to/hgweb.conf
参考资料
Mercurial 官方主页: http://mercurial.selenic.com/
Wikipedia介绍 http://zh.wikipedia.org/wiki/Mercurial
Mercurial: The Definitive Guide http://hgbook.red-bean.com/
免费的Mercurial仓库服务: http://bitbucket.org/
Distributed Version Control (DVCS) With Mercurial: http://www.slideshare.net/tednaleid/distributed-version-control-dvcs-with-mercurial
Windows客户端tortoisehg http://tortoisehg.bitbucket.org/
Intro to Distributed Version Control http://betterexplained.com/articles/intro-to-distributed-version-control-illustrated/
Mercurial 非官方主页: http://hg-scm.org/