从SVN转到Mercurial

Standard

随意合并;只在根目录放一个.hg隐藏目录;日志本地查看速度也快。
下载地址:http://mercurial.selenic.com/wiki/Download

<VirtualHost *:80>
  ServerName hg.yemaosheng.com
 
  ServerAdmin webmaster@yemaosheng.com
 
  RewriteEngine on
  RewriteRule (.*) /web/hg/hgweb.cgi/$1
  #hgweb.cgi在安装包里有
 
  <Directory "/web/hg/">
    Order allow,deny
    Allow from all
    AuthType Basic
    AuthName "Mercurial Repositories"
    AuthUserFile /web/hgusers
    #hgusers文件由htpasswd添加
    Require valid-user
    AllowOverride All
    Options ExecCGI
    AddHandler cgi-script .cgi
  </Directory>
</VirtualHost>

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.