Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Migrating from SCCS to Git

I have a development environment running on a Solaris 10 box. The vcs used is currently SCCS. It is planned to move this environment to a new box running Solaris 11. I was thinking of using this as an opportunity to move to a new vcs system, most likely Git.

I was wondering is it a case that we would have to just start fresh on the other box with a dump of the current repo from the old box or is it possible to preserve the repo history?

I have done a bit of searching SCCS to Git information seems quite scarce.

Thanks.

like image 995
Apollo Avatar asked Oct 22 '12 08:10

Apollo


1 Answers

There seems to be a “SCCS2Git” script, mentioned here. It’s in the TODO section, so one can only guess its status, but the sourcecode is available and it was “recently” (in 2015) moved to GitHub where it’s somewhat actively maintained (as in: There are recent commits). If you can figure out how it works, maybe you can give it a try (after backing things up obviously).

Otherwise I would probably go a less experimental route and convert to something else first. Git has a good interface to Subversion, and there seem to be a good number of converters from SCCS to Subversion, for example this. If you set up a local Subversion repository, you can probably export the data quickly and then import it as a new Git repository using git-svn.

like image 106
poke Avatar answered Sep 21 '22 04:09

poke