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

PVCS (or RCS) importer for Git?

From
Peter Karlsson <peter@softwolves.pp.se>
Date
Mar 28, 2008, 16:17 UTC
Message-ID
<Pine.LNX.4.64.0803281713230.24460@ds9.cixit.se>
Hi!

Has anyone written an importer to import sources stored in PVCS into Git? Or perhaps an RCS importer that actually uses the RCS binaries (ci, co, rlog) instead of parsing the ,v files directly?

I am looking at exporting some PVCS sources into Git, but my attempts so far hasn't got very far, and I was thinking that maybe someone else had done something similar?

One problem with PVCS is that it, like RCS, has file-local revision numbering, and that it does not have named branches, the branches are on the same file-local revisions, so there is no way of telling what a branch is supposed to point to, except by looking at tags set to what the branch created.

RCS is quite similar (PVCS seems to be designed to be a RCS clone), so perhaps the problem has already been solved?

I have had some limited success by running a the pvcs2rcs.pl script from CVS's sources and converting that to Git using cvs2svn, but I believe the result could be better if I converted directly.

-- 
\\// Peter - http://www.softwolves.pp.se/
Next: Johannes Schindelin
Message 1 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.