您的位置:首页 > 移动开发

Window SVNService 安装使用

2008-08-02 18:03 507 查看
SVNService(将svn作为windows服务运行的工具)

SVN Service Wrapper for Windows
This is my Win32 Service wrapper for SVN. Source is included, and its in the public domain. No need to copyright this stuff.

Usage instructions:

  SVNService -?                               to display this list
  SVNService -install <svnserve parameters>   to install the service
  SVNService -setup <svnserve parameters>     to change command line parameters for svnserve
  SVNService -remove                          to remove the service
  SVNService -debug                           to run as a console app for debugging

将svnservice.exe放在subversion的bin目录下

Example:
比如,你的所有项目都在c:/svnrepo下,你可以如下
安装时用  SVNService -install -d -r c:/svnrepo
更改时用  SVNService -setup -d -r c:/otherplace/svnrepo
如果访问其中的一个项目c:/svnrepo/project1,可以指定路径

svn://localhost/project1 (注:作为url时用/)

第一次安装完后要到服务中手动启动它,
或者到服务中将它设为自动启动,让每次机器启动时自动启动这个服务。

IMPORTANT:

  Make sure you place SVNService.exe in the same directory as svnserve.exe
  一定要将SVNService.exe放在svnserve.exe相同的目录
Special thanks go to Craig Link at Microsoft for creating the initial service.c.

-Magnus Norddahl
(备注:以上中文由PCplayer添加)

SVNService -setup -d -r E:/Svn/repository
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息