Differences between revisions 5 and 11 (spanning 6 versions)
Revision 5 as of 2009-09-08 12:10:42
Size: 1157
Editor: AlfLervåg
Comment:
Revision 11 as of 2012-04-16 18:45:57
Size: 1169
Editor: GregWard
Comment: update stale link
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
There are two approaches to converting from Visual !SourceSafe to Mercurial. I recommend the multi hop approach since it uses more mature tools.  There are two approaches to converting from Visual !SourceSafe to Mercurial. I recommend the multi hop approach since it uses more mature tools.
Line 4: Line 4:

* http://www.pumacode.org/projects/vss2svn
 * http://code.google.com/p/vss2svn/
Line 8: Line 7:
Follow the directions on the vss2svn-page to convert from Visual !SourceSafe to Subversion. Then convert the Subversion repository to Mercurial. Follow the directions on the vss2svn page to convert from Visual !SourceSafe to Subversion. Then convert the Subversion repository to Mercurial.
Line 11: Line 10:

WARNING: The vss2svn script has evolved a lot since the vss2hg script forked and is now using the ssphys package to extract data from Visual !Source-Safe instead of the ss.exe solution that vss2hg is using (as of 1.03).
   The vss2hg perl script converts a Visual !SourceSafe project directly to a Mercurial repository and it is available from this page:

 * http://trojanfoe.googlepages.com/visualsourcesafetomercurialmigrationtool
WARNING: The vss2svn script has evolved a lot since the vss2hg script forked and is now using the ssphys package to extract data from Visual !SourceSafe instead of the ss.exe solution that vss2hg is using (as of 1.03).
Line 19: Line 13:

Attached is the 1.04 version with some fixes for running under Windows and a fix for a !SourceSafe directory name length of 1. It has been tested with Windows 2003 server, !SourceSafe 2005, and !ActivePerl 5.10.1 [[attachment:vss2hg.pl]]

There are two approaches to converting from Visual SourceSafe to Mercurial. I recommend the multi hop approach since it uses more mature tools.

Multi Hop Approach (vss -> svn -> hg)

Follow the directions on the vss2svn page to convert from Visual SourceSafe to Subversion. Then convert the Subversion repository to Mercurial.

Direct Approach (vss -> hg)

WARNING: The vss2svn script has evolved a lot since the vss2hg script forked and is now using the ssphys package to extract data from Visual SourceSafe instead of the ss.exe solution that vss2hg is using (as of 1.03).

Please note that version 1.03 of this script is severely lacking when it comes to non-ascii file names and Visual Source Safe installations with non-us regional settings.. These issues have been fixed in vss2svn.

Attached is the 1.04 version with some fixes for running under Windows and a fix for a SourceSafe directory name length of 1. It has been tested with Windows 2003 server, SourceSafe 2005, and ActivePerl 5.10.1 vss2hg.pl

SourceSafeConversion (last edited 2012-04-17 06:35:08 by ras)