老是会忘了SVN的命令, 在这里简单做个记录。
STEP 1. Create a repository
svnadmin create /home/project ------> /home/project is the directory of the repository.
a. Edit svnserve.conf
[general]
password-bd = passwd
anon-access = none
auth-access = write
authz-db = authz
#realm = project
b. Edit passwd
[users]
myname = x11231
c. Edit authz
[/projec1]
myname = rw
[/project2]
myname = rw
STEP 2. Import a project
svn import /usr/src/project1 file:///home/project/project1
STEP 3 check out
svn co svn://192.168.1.202/project1
STEP 4 Add / del
svn add/del file_name
svn ci -m "message"
保持更新。
11:11:08 AM Thursday, May 07, 2009