Svn: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
chmod g+s /www/svn/cfengine/db | chmod g+s /www/svn/cfengine/db | ||
httpd.conf | |||
<Location /svn/cfengine> | <Location /svn/cfengine> | ||
DAV svn | DAV svn |
Revision as of 12:32, 9 October 2007
install svn.
yum install mod_dav_svn
Create svn repository.
svnadmin create /www/svn/cfengine
Change permission.
chown -R apache.apache /www/svn/cfengine chmod g+s /www/svn/cfengine/db
httpd.conf
<Location /svn/cfengine> DAV svn SVNPath /www/svn/cfengine AuthzSVNAccessFile /etc/httpd/conf/svnauthz.conf AuthType Basic AuthName "Subversion repository cfengine" AuthUserFile /etc/httpd/conf/passwords Order deny,allow Require valid-user </Location>
labels:
trunks Latest. Work in the trunk tags. Reprecensts stable branches. Private working space. Could be merged.
Stable and testing
svn commands: svn co http://svn.klu.infineon.com/repos/AdminToolKit/ Check out directory. svn add * Add all files in current directory to svn. svn mv ../cfagent.conf . Move file within svn. svn rm etc Remove file from svn. svn ci -m "inital standard configuration" Check in current status in svn. svn copy http://svn.vih.infineon.com/repos/AdminToolKit/trunk http://svn.vih.infineon.com/repos/AdminToolKit/trunk2 Copy in svn. svn co Check out current directory when working with svn source. svn copy -r 24 http://svn.kia.infineon.com Copy version 24 to svn co http://svn.klu.infineon.com/repos/AdminToolKit/ Initial check out svn up Update against svn data.