git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Migrating from Serena PVCS to GIT
@ 2010-01-14  8:54 Rivka Pollack
  2010-01-14  9:10 ` Peter Krefting
  0 siblings, 1 reply; 3+ messages in thread
From: Rivka Pollack @ 2010-01-14  8:54 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Migrating from Serena PVCS to GIT
  2010-01-14  8:54 Migrating from Serena PVCS to GIT Rivka Pollack
@ 2010-01-14  9:10 ` Peter Krefting
  2010-01-14  9:51   ` Peter Krefting
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Krefting @ 2010-01-14  9:10 UTC (permalink / raw)
  To: Rivka Pollack; +Cc: Git Mailing List

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Migrating from Serena PVCS to GIT
  2010-01-14  9:10 ` Peter Krefting
@ 2010-01-14  9:51   ` Peter Krefting
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Krefting @ 2010-01-14  9:51 UTC (permalink / raw)
  To: Rivka Pollack; +Cc: Git Mailing List

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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-01-14  9:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-14  8:54 Migrating from Serena PVCS to GIT Rivka Pollack
2010-01-14  9:10 ` Peter Krefting
2010-01-14  9:51   ` Peter Krefting

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).