Migration from CVS to SVN

From GRASS-Wiki
Revision as of 15:02, 5 December 2007 by Landa (talk | contribs) (MIME types: moved to discussion page)

Jump to: navigation, search

This page contains notes related to GRASS code migration (planned) from CVS to SVN.


  • The SVN command line interface is just like CVS, many tasks are identical- just change the program name from cvs to svn.


  • cvs2svn is known to break binary files (images) which were not imported into the CVS with the -kb flag. Luckily Glynn fixed most of these some months ago.
  • Files using keyword substitution, such as $Date$ in the description.html files, will have to have support for that enabled manually, once per file (or write a find routine with | xargs svn ...).
$ svn propset svn:keywords "Date" filename.txt
$ svn commit


$ find . -name '*.c' | xargs svn propset svn:keywords "Date" 
$ find . -name '*.html' | xargs svn propset svn:keywords "Date" 
$ svn commit
  • how to maintain timestamps of files? We want to keep the last modification date, not the date of local download

GRASS CVS repository structure


GRASS OSGeo SVN repository structure

Scenario 2




GRASS 7 development notes


External links

SVN hosting

There are two main options to host the new SVN repository.