Hermod's Weblog

søndag mar 05, 2006

VSS2SVN

Since we more or less have decided to move from Visual SourceSafe (VSS) to Subversion (SVN), I have been searching around for tools that would migrate my files from VSS to SVN. After som searching I found to alternatives: migrate.pl Perl program from Brett Wooldridge (brettw-AT-riseup-DOT-com) available at http://www.riseup.com/~brettw/dev/VSS2Subversion.html and the Tigris project at http://vss2svn.tigris.org/. After having tested both and concluded that none of the actually worked, I set out to fix the one ith the least amount of problems. The one I chose was migrate.pl. Now the next step was to arm my self with some tools to ease the task. So I installed EPIC Eclipse plugin : http://e-p-i-c.sourceforge.net/ and ActivePerl from ActiveState (http://www.activestate.com/Products/Download/Download.plex?id=ActivePerl).I the downloaded and read this Article :http://www-128.ibm.com/developerworks/edu/os-dw-os-epic-i.html?S_TACT=105AGX44&S_CMP=ECL which is about debugging Perl programs insed Eclipse. Armed with this I soon figured out what was the problem with the script: paths! Having fixed the path problem, and adding in a nice extra feature which enables you to run it with a --batch parameter. Running with parameter, nothing is imported into SVN from VSS. Instead a batch-file is created that contains the entire job is created. You can the run this batch-file where and when you want as long as SS.exe and svn.exe is available on the machine where you run it. You can download the file from here. Please go ahead and try it. If you have a question or find something that might be a bug, you may contact me at hermod at opstvedt dot com. Hermod

Comments:

Post a Comment:
Comments are closed for this entry.

Calendar

Feeds

Search

Links

Navigation

Referrers