//创建版本库
C:\Documents and Settings\Z>svnadmin create d:\workspace\repo\oa
C:\Documents and Settings\Z>svnadmin create d:\workspace\repo\erp
//启动svnserve
C:\Documents and Settings\Z>svnserve -d -r d:\workspace\repo\oa
//端口情况---3690
netstat -an
//注册为windows服务
C:\Documents and Settings\Z>sc create svnservice binpath= "C:\svn\Subversion\bin
\svnserve.exe --service -r d:\workspace" start= auto depend= Tcpip
C:\Documents and Settings\Z>net start svnservice
//checkout
//预先建立D:\workspace\source
D:\workspace\source>svn checkout svn://localhost/repo/oa
//add
D:\workspace\source\oa>svn add test.txt
//commit
D:\workspace\source\oa>svn commit -m "first" test.txt
时间: 2024-10-05 21:33:43