Differences between revisions 4 and 5
Revision 4 as of 2009-12-16 21:09:53
Size: 1219
Editor: czk
Comment:
Revision 5 as of 2021-03-18 09:27:32
Size: 0
Editor: czk
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== 安装 ==
 * TortoiseHG (Windows下图形客户端) http://tortoisehg.bitbucket.org/
 * 各种平台的安装包:http://mercurial.selenic.com/wiki/Download

== 服务器 ==
创建一个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/
ch3n2k.com | Copyright (c) 2004-2022 czk.