Daily Archives: August 28, 2005

subVersion定制

建立了heihedss, pm 和meta三个repository,对结构进行了一些设计
对基于regular web browser的输出进行了定制,从subversion源码包里取到toolssvnindex.xsl,在httpd.conf的svn Location段里增加了

<Location /svn>

DAV svn

SVNParentPath /usr/local/svn

SVNIndexXSLT "/svnindex.xsl"

</Location>

效果见如附图
Url: http://503.mygis.org

几个svn命令

create a user and user file:
binhtpasswd -c pwd-file <username>

add user to user file:
binhtpasswd pwd-file <username>

create bdb repository:
svnadmin create –fs-type bdb <newRepository>
svnadmin create –fs-type fsfs <newRepository>

backup repository:
svnadmin hotcopy path/to/repository path/to/backup –clean-logs