sccs2svn is a Python script written by Robert Zeh that converts SCCS repositories to a Subversion repository. It was originally written to convert Error Free Software's SCCS repositories to Subversion, but my boss Alexie Gitter allowed me to release it to the outside world. Since then it has grown by gradual accretion as people report bugs and provide fixes.
The script assumes that your SCCS repositories are arranged in a hierarchy, where each directory has its own SCCS directory:
You need the following to run sccs2svn.py:
On my Debian box this corresponds to the packages svn, python2.3 and python2.3-svn.
The script takes the following options:
Here is an run from the testing directory:
razeh@squirmy:~/sccs2svn/trunk/tests/test01$ ../../src/sccs2svn.py --user admin --svn-repository test01-svn --sccs-repository . Visiting ./SCCS Read 2 versions. consolidated length = 3 sending /file.txt 2006-02-04T07:09:04.000000Z committing version 1 sending /file.txt 2006-02-04T07:09:04.000000Z committing version 2 sending /file.txt 2006-02-04T07:10:18.000000Z committing version 3 skipping property set for /file.txt committing version 5You should take a look at your local software if the example in test01 doesn't work on your machine.
sccs2svn.py was originally hosted on my web site but has been moved to Berlios, an open source repository.