版本2和4间的区别 (跳过第2版)
于2009-12-07 20:20:03修订的的版本2
大小: 623
编辑: czk
备注:
于2009-12-16 21:09:53修订的的版本4
大小: 1219
编辑: czk
备注:
删除的内容标记成这样。 加入的内容标记成这样。
行号 1: 行号 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
}}}

== 参考资料 ==

安装

服务器

创建一个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.