版本1和4间的区别 (跳过第3版)
于2009-12-07 20:06:07修订的的版本1
大小: 573
编辑: czk
备注:
于2009-12-16 21:09:53修订的的版本4
大小: 1219
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 1:
== 安装 ==
 * TortoiseHG (Windows下图形客户端) http://tortoisehg.bitbucket.org/
 * 各种平台的安装包:http://mercurial.selenic.com/wiki/Download
行号 2: 行号 5:
== 服务器 ==
创建一个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
}}}

== 参考资料 ==
行号 9: 行号 37:
 * Mercurial 非官方主页: http://hg-scm.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

参考资料

ch3n2k.com | Copyright (c) 2004-2020 czk.