git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Karlsson <peter@softwolves.pp.se>
To: git@vger.kernel.org
Subject: PVCS (or RCS) importer for Git?
Date: Fri, 28 Mar 2008 17:17:39 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.64.0803281713230.24460@ds9.cixit.se> (raw)

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/

             reply	other threads:[~2008-03-28 16:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-28 16:17 Peter Karlsson [this message]
2008-03-28 16:33 ` PVCS (or RCS) importer for Git? Johannes Schindelin
2008-03-31  6:26   ` Peter Karlsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0803281713230.24460@ds9.cixit.se \
    --to=peter@softwolves.pp.se \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).