安裝Subversion
首先初始化Repository,輸入命令:
svnadmin create D:\TestRepository\
然后,把現(xiàn)有的項(xiàng)目的目錄結(jié)構(gòu)以及文件導(dǎo)入到Repository中:
svn import D:\Projects\Project1 file:///D:/TestRepository/Project1 -m “初始化“
啟動(dòng)服務(wù)
svnserve -d -r D:\TestRepository\
就可以下載了。
在conf的passwd的[users]中加入一行
xf = 123
然后將svnserve.conf中的password-db = passwd前的注釋去掉(注意空格也要去掉)
最后重啟svn,就可以用用戶名和密碼修改,上傳源碼了。
conf/passwd配置用戶
生成windows服務(wù):
sc.exe create SVNService binpath= "D:\Subversion\bin\svnserve.exe --service -r E:\svndemo\repository" depend= tcpip
參考連接 http://hi.baidu.com/zgz0809/blog/item/788aee597c1611292834f084.html
首先初始化Repository,輸入命令:
svnadmin create D:\TestRepository\
然后,把現(xiàn)有的項(xiàng)目的目錄結(jié)構(gòu)以及文件導(dǎo)入到Repository中:
svn import D:\Projects\Project1 file:///D:/TestRepository/Project1 -m “初始化“
啟動(dòng)服務(wù)
svnserve -d -r D:\TestRepository\
就可以下載了。
在conf的passwd的[users]中加入一行
xf = 123
然后將svnserve.conf中的password-db = passwd前的注釋去掉(注意空格也要去掉)
最后重啟svn,就可以用用戶名和密碼修改,上傳源碼了。
conf/passwd配置用戶
生成windows服務(wù):
sc.exe create SVNService binpath= "D:\Subversion\bin\svnserve.exe --service -r E:\svndemo\repository" depend= tcpip
參考連接 http://hi.baidu.com/zgz0809/blog/item/788aee597c1611292834f084.html