Subversion- adding a new repository
First create the repository and import in files to it (don't forget to add branches, tags, and trunks dir to the pre imported structure)
Then make the repository live by editing subversion.conf
Then make the repository visible by appending to the access control list - svn-acl
Finally, restart the Apache service
cd c:\svn
svnadmin create --fs-type fsfs newProject
cd c:\temp
svn import existingSrc file:///c:/svn/newProject -m "initial add"
Then make the repository live by editing subversion.conf
< Location /newProject\>
DAV svn
SVNPath C:/svn/newProject
AuthType Basic
AuthName "Subversion newProjectrepository"
AuthUserFile c:/bin/svn-auth-file
Require valid-user
AuthzSVNAccessFile c:/bin/svn-acl
</Location>
Then make the repository visible by appending to the access control list - svn-acl
# newProject
#
# on all subdirectories
# specialUsers group has full access, all others have read access only
#
[newProject:/]
@specialUsers= rw
* = r
Finally, restart the Apache service
Labels: svn
0 Comments:
Post a Comment
<< Home