git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: PVCS (or RCS) importer for Git?

From
Peter Karlsson <peter@softwolves.pp.se>
Date
Mar 31, 2008, 06:26 UTC
Message-ID
<Pine.LNX.4.64.0803310723440.26808@ds9.cixit.se>
In-Reply-To
<alpine.LSU.1.00.0803281730060.18259@racer.site>
Johannes Schindelin:
> I once tried, but apparently, there are different repository formats
> for PVCS. For example, pvcs2cvs did not work for me.

Yeah, the format is binary. That is why I am trying to use the command-line tools.

> IIRC I used a simple shell script to convert pvcs (using the
> mega-slow command line tools) to ,v files.  Then I converted that to Git.

That is, more or less, what the pvcs2cvs script does. I've had some success with it.

> Judging from the problems of importing CVS to Git (which mostly stem
> from the file-versioning paradigm), I suggest not trying to be too
> clever, but convert it to cvs and use a good cvs importer, such as
> cvs2svn (which despite its name also imports into Git) or parsecvs.

Given that the PVCS history file ("trail") that I was trying to follow didn't quite work out, because there had been some direct manipulations of the PVCS repository that were not recorded there, I think that is the way I will have to go. That means I do lose the tagging information (timestamp and tagger), but I can live with that...

Thanks for the input.
-- 
\\// Peter - http://www.softwolves.pp.se/
Previous: Johannes Schindelin
Message 3 of 3 in “PVCS (or RCS) importer for Git?”
  1. Peter KarlssonMar 28, 2008
  2. Johannes SchindelinMar 28, 2008
  3. Peter KarlssonMar 31, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.