CVS is outdated. Move to SVN.
SVN itself is not so modern either, it is being replaced by Distributed Version Control.
SVN -> very similar to CVS. There are actually several "SVN for CVS users" guides in the web.
Important:
CVS repository moved to f90/pencil-inactive
and will not allow commits anymore.
Check out the code with svn:
- svn co https://ajohan@svn.nordita.org:/svn/pencil-code/trunk pencil-code
Like cvs, update with
- svn update
the latest revision is revision 9758.
For a short list of svn commands, do "svn help". For a comprehensive guide, google "svn book".
svn help also works for a command. For instance, type
- svn update --help
for a list of subcommands of svn update. An important difference as compared to cvs is that the svn update is recursive. Use
- svn update -N
for updating only the current directory and not the subtrees.
Commiting files. Same as with cvs:
- svn ci -m "comment" file
We could show more ten commands or so, but it is better to start using it. The questions come with the experience.
No comments:
Post a Comment