Migrating from Serena PVCS to GIT

3 messages, 2 authors, 2016-06-15 · open the first message on its own page

Migrating from Serena PVCS to GIT

From: Rivka Pollack <hidden>
Date: 2016-06-15 22:48:01

Is there a simple way to migrate from Serena PVCS, with all of our older,
versioned, documentation, into GIT repositories?
Thanks.

Re: Migrating from Serena PVCS to GIT

From: Peter Krefting <hidden>
Date: 2016-06-15 22:48:01

Rivka Pollack:
Is there a simple way to migrate from Serena PVCS, with all of our older, 
versioned, documentation, into GIT repositories?
The only more-or-less reliable export from PVCS that I have found is to RCS. 
There is a script for PVCS-to-RCS export in the CVS source archives (I 
needed to hack the scripts a bit to get them to run properly, unfortunately 
I do not have access to those changes). It needs to be run on a machine 
that has both PVCS and RCS binaries installed, and it needs to check out 
every revision for every file, so it does take some time to run.

After doing that, I moved the RCS files to a CVS-like directory layout and 
imported them into Git using one of the CVS-to-Git migration tools.

A tedious process, but it can be done.

-- 
\\// Peter - http://www.softwolves.pp.se/

Re: Migrating from Serena PVCS to GIT

From: Peter Krefting <hidden>
Date: 2016-06-15 22:48:01

Following up my own reply:
There is a script for PVCS-to-RCS export in the CVS source archives (I 
needed to hack the scripts a bit to get them to run properly, 
unfortunately I do not have access to those changes).
IIRC, the changes I needed to make was to ensure that the files did not get 
their keyword expanded again by RCS (adding -ko mode; this also survives 
into Git), since the revision numbers are off-by-one in RCS compared to PVCS 
(RCS starts at 1.1, PVCS at 1.0). I also had to extend the list of binary 
file types in the PVCS-to-RCS script to cover all the binary files that were 
checked in.

-- 
\\// Peter - http://www.softwolves.pp.se/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help