Re: CVS -> SVN -> Git

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

 



On Thu, 19 Jul 2007, Simon 'corecode' Schubert wrote:

Julian Phillips wrote:
 Has anyone managed to succssfully import a Subversion repository that was
 initially imported from CVS using cvs2svn using fast-import?

 It looks like cvs2svn has created a rather big mess.   It has created
 single commits that change files in more than one branch and/or tag. It
 also creates tags using more than one commit.  Now I come to try and
 import the Subversion history into git and I'm having trouble creating a
 sensible stream to feed into fast-import.

Did you try first converting the old CVS repo to git and then adding the svn changes? That might give you much better results.

I thought about it, but there are over 20000 commits sitting on top of the converted history referring back to it - I'm not convinced that I could stitch things back together properly, the svn history now really does rely on the import done by cvs2svn. (btw, I blame CVS for the mess not cvs2svn, we should have switched _before_ we started using branches heavily ...)

The problem really is that we use branching like it's going out of fashion. We have thousands now, and had at least 10s if not 100s by the time we gave up on CVS. Similarly with tags.

I think I've managed to get things sorted now with fast-import ... just need to be able to copy blobs from other commits and I think I'll be done. It really is a nice tool.

--
Julian

 ---
There is nothing so easy but that it becomes difficult when you do it
reluctantly.
		-- Publius Terentius Afer (Terence)
-
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