Fog Creek Software
Discussion Board




Migrating VSS to CVS tools

Hi,

The company I work for will be migrating from VSS to CVS soon.

I was wondering if there are any (hopefully free) tools out there that can painlessly move a VSS repository over to a CVS one, essentially preserving the versions of every file.

Since this is essentially a Windows only company, we will be using the CVSNT server (unless it gives us too much grief) so I'm looking for a Windows based tool.

A.F.

Avrom Finkelstein
Wednesday, January 14, 2004

I tried to do this migrating VSS to ClearCase. Test showed it would have taken the conversion tool more than 6 months to complete (I think because the VSS repository is a black box, the tool needs to get each version of every file (instead of getting every version simultaneously), which isn't quick). Instead I just moved the latest version of every file (and kept the old VSS as backup in case its history information was needed).

Christopher Wells
Wednesday, January 14, 2004

VSS has a COM API which you can use to read and write to VSS repository. You can do everything the VSS client can do. And you don't need C++ - you can use VBScript/JScript/Perl (any WSH language)! Now, how to write every item you read from VSS repository to CVS/ClearCase is another part of the story. CVS probably has no COM interface (Subversion - CVS successor - hasn't one yet).

NNL
Wednesday, January 14, 2004

Can't reach the server right now, but we used vss2cvs and had quite good results.

http://www.laine.org/cvs/vss2cvs/

It does convert the entire history.  And yes because of the differences in storage model, it can be quite slow if you have an old / active code tree, but migrating a subtree at a time could probably help that.

Mikayla
Wednesday, January 14, 2004

I don't care if the tool is slow, just as long as its relatively painless. We can probably let it run overnight if we have to.

I'm not interested in writing my own tool from scratch.

Avrom Finkelstein
Wednesday, January 14, 2004

I also found the following (don't know if it works):

http://sourceforge.net/projects/vssextractor/

It appears that the site for VSS2CVS is down permanently. Does anyone know if there is a mirror site for it or has a copy of it floating around?

Avrom Finkelstein
Wednesday, January 14, 2004

looks like vss2cvs.pl is floating around there, look for it on google (assuming it's the one you want).

mb
Wednesday, January 14, 2004

There are links on the CVSNT site. There is some WSH javascript linked that works well.

Damian
Thursday, January 15, 2004

Found the javascript at:
http://www.hagenlocher.org/software/

I found vss2cvs posted in a usenet newsgroup.

Avrom Finkelstein
Thursday, January 15, 2004

I really dislike people going, "Look on Google" -- when they fails to look on it themselves and would come to the same realization:  It is nowhere to be found -- all references point back to that dead site.

T.J.
Thursday, January 15, 2004

nope. i found it on google. only one hit, however. hint: "index of".

mb
Thursday, January 15, 2004

and don't forget

http://web.archive.org/web/*/http://www.laine.org/cvs/vss2cvs

mb
Thursday, January 15, 2004

*  Recent Topics

*  Fog Creek Home