March 12, 2004

Using subversion    [ Software ]

Yeah, subversion's been at 1.0 for a wee bit now.   I had read over the docs and played with it for a short time about a year back, but now I'm looking at converting the CVS repos I'm using at home and work to SVN.   Atomic commits and file renames are cool! :)

There's still a bit of a learning/customizing curve when it comes to using svn, for example, to get CVS-style "$Id$" replacement in text files, you need to do something like the following (assuming you care about .c and .h files):

svn propset svn:keywords "Id" *.[ch]
svn commit -m "added svn:keywords property"

The above snippet is shamelessly stolen from http://svn.brouhaha.com/.   I haven't tried any of the CVS-to-SVN conversion scripts/utils yet, right now I'm doing 'cvs co ${blah}' followed by 'svn import file:///svn/${blah} ${blah}' and futzing with stuff.

Posted by edobbs at March 12, 2004 06:03 PM