TeamWare to Mercurial history conversions
Since Google shows no options for converting TeamWare workspaces to Mercurial (beyond an OpenSolaris-specific incremental tool), and I had some scripts sitting around that can be used for this purpose, I am sharing them in the hopes that someone will find them useful. These scripts are by no means polished, and may or may not work for you as is.
Here is roughly what you need to do:
/tmp/project-tw.sudo apt-get install cssc, and add /usr/lib/cssc to your $PATH.sccs2exploded.plsccs2exploded.pl --indir /tmp/project-tw --outdir /tmp/project-explodedexploded2cvs.plcvs -d /tmp/project-cvs initexploded2cvs.pl --indir /tmp/project-exploded --outdir /tmp/project-cvs/modulecvs -d /tmp/project-cvs co modulehg convert module project-hgproject-hg, your new Mercurial workspace. You may need to hg up -r tip -C to get to the "tip" revision. If there are some branches imported from TeamWare, you may need to see what they are using hg heads and resolve them using hg merge.Good luck! I have run this procedure on Ubuntu on a small TeamWare workspace successfully, but for big projects there could well be some complications. Features and limitations:
deleted_files) should be correctly imported.Posted at 02:32PM Jan 19, 2008 by jglick in Sun | Comments[1]
f
Posted by 218.185.113.36 on August 04, 2009 at 12:51 AM EDT #