# tree -L 2
.
|-- TEAM_A
| `-- Prj_A1
|-- TEAM_B
| |-- Prj_B1
| |-- Prj_B2
| `-- Prj_B3
|-- TEST
| `-- testProject
|-- TEAM_C
| `-- Prj_C1
`-- project_001
`-- project_002
`-- project_003
DAV svn
SVNParentPath /var/www/svn
# Limit write permission to list of valid users.
#
# Require SSL connection for password protection.
# SSLRequireSSL
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /etc/svn-auth-conf
Require valid-user
#
DAV svn
SVNParentPath /var/www/svn/TEST
AuthType Basic
AuthName "Authorization Realm"
AuthUserFile /etc/svn-auth-conf
Require valid-user
# cd /var/www/svn
# mkdir TEST
# svnadmin create TEST/testProject
# chown -R apache.apache TEST
# svn import /path/to/original file:///var/www/svn/test/testProject/ -m "Notes for the original"
# service httpd restart
沒有留言:
張貼留言