My company has a large codebase in Surround SCM, which was migrated from SourceSafe a few years ago. We're looking to move to something more suited to our needs, but getting our history out of Surround is proving to be a challenge.
Googling for git importers, I found a good tutorial on custom importers. There also appears to be support for svn, perforce, and many others, but no Surround.
Would it be better to just take a snapshot and start a new git repo? Or is it worth writing a script to get 15+ years of code history?
Finding myself in this exact scenario, I've take it upon myself to write such a custom importer: export-surround-to-git
This method is capable of preserving complete history, timestamps, authors, comments, branches, snapshots, etc.
This script has been tested in a limited number of scenarios, and has proven successful so far. While still a work-in-progress, this may be what you're looking for. It's open-source--so feel free to make improvements to the script on your own!
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