Svn: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 27: Line 27:
   Require valid-user
   Require valid-user
  </Location>
  </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.

Revision as of 12:20, 9 October 2007

install svn.

yum install mod_dav_svn

svnadmin create /www/www-halfface/svn

chown -R apache.apache /www/www-halfface/svn chmod g+s /www/www-halfface/svn/db

<Directory /www/www-halfface/svn>
   DAV svn
   SVNPath /www/www-halfface/svn
   AuthType Basic
   AuthName "Subversion Repository"
   AuthUserFile /etc/httpd/conf/passwd
   AuthzSVNAccessFile /etc/httpd/conf/svnauthz.conf
   Require valid-user
</Directory>
<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.