My company unwittingly switched from cvs to subversion and now we’re all wishing we had cvs back. I know there’s tools to migrate history and changes from cvs to svn and there’s no equivalent to do the reverse. Any suggestions or ideas on how to do this?
My company unwittingly switched from cvs to subversion and now we’re all wishing we
Share
I originally added this as a comment to someone else’s answer, but then realized that it was an answer, of sorts. I have done these sorts of transitions before, where there was no existing way to convert from one SCM system to another.
It’s not rocket science to write a script that takes the list of commits from your SVN repository, and iterates through them one at a time, merging them into a newly-created CVS repository. Getting all the branches and tags exactly correct might be a bit more work, but if you want to just save revision history for a few branches, it should be pretty easy.
I’m also of the opinion that you won’t really gain anything by switching back to CVS, but if you want to do so, then you’ll likely be writing your own script. The ‘svn export’ command will undoubtedly be useful in this endeavor.