Re: PVCS (or RCS) importer for Git?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Fri, 28 Mar 2008, Peter Karlsson wrote:

> Has anyone written an importer to import sources stored in PVCS into
> Git?

I once tried, but apparently, there are different repository formats for 
PVCS.  For example, pvcs2cvs did not work for me.  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.

But it was pretty bad, the incremental update was broken more often than 
not.

And after a few days, it became apparent that I do not need a full import, 
but that a simple commit-to-git-after-a-pvcs-update would be sufficient.

> 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.

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.

Ciao,
Dscho

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux