What's the best way to move a Visual Sourcesafe repository to Mercurial (I'm interested in retaining all history)?
There are more than 10 alternatives to Microsoft Visual SourceSafe for a variety of platforms, including Windows, Linux, Mac, Online / Web-based and BSD. The best alternative is Git, which is both free and Open Source.
Command Menu Access For Visual SourceSafe, open from source control: File, Open, Project/Solution; look in the Visual SourceSafe location. For other source control plug-ins, open from source control: File, Source Control, Open from Source Control.
While I haven't made that particular conversion, I have gone from VSS to SVN using (IIRC) this script. You'll probably want to look into tailor and do a search for vss2hg. Also keep in mind that it may make sense to go through an intermediate step like vss2svn + svn2hg or similar.
The primary bit of advice I'd give though is: script the conversion so you can re-run it easily. That will let you run nightly conversions from VSS to Hg and make sure that everything is converting correctly before you pull the trigger on it.
I am the author of the vss2hg.pl script and have used it to move many projects from VSS to Mercurial. It has one or two minor bugs where some comments are not completely converted but I haven't seen any other issues. It converts complete history and works-around a problem with VSS where a user's PC clock can affect the order in which changes appear to be made.
A version of the script is available here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With