Difference between revisions of "CVS and Subversion"

From YobiWiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 
==Subversion==
 
==Subversion==
  +
* http://subversion.tigris.org/
 
===Tips===
 
===Tips===
 
To convert a CVS repository:
 
To convert a CVS repository:
Line 11: Line 12:
 
To checkout the project:
 
To checkout the project:
 
svn checkout svn+ssh://devel.yobi.be/home/svn/linux-doc/trunk linux-doc
 
svn checkout svn+ssh://devel.yobi.be/home/svn/linux-doc/trunk linux-doc
  +
===Doc===
  +
* http://svnbook.red-bean.com/nightly/en
  +
==svk==
  +
* http://svk.elixus.org/
  +
===Doc===
  +
* http://svkbook.elixus.org/nightly/en/

Revision as of 22:32, 7 September 2006

Subversion

Tips

To convert a CVS repository:

  • I'm using ssh and developers are members of the src group, CVS repository is in /home/cvs
  • I create /home/svn with the following flags and ownerships, same as for /home/cvs
drwxr-sr-x cvs:src /home/svn
  • To convert /home/cvs/linux-doc repository:
su -s /bin/bash cvs -c "cvs2svn -s /home/svn/linux-doc /home/cvs/linux-doc"
  • All files and dirs for which user has write access, give it also to group
find /home/svn/linux-doc -perm -200 -exec chmod g+w {} \;

To checkout the project:

svn checkout svn+ssh://devel.yobi.be/home/svn/linux-doc/trunk linux-doc

Doc

svk

Doc