Thread (56 messages) flat view 56 messages, 10 authors, 2016-06-15

Re: Figured out how to get Mozilla into git

From: Pavel Roskin <hidden>
Date: 2016-06-15 22:42:29

Hi Jon,

Quoting Jon Smirl [off-list ref]:
I was able to import Mozilla into SVN without problem, it just occured
to me to then import the SVN repository in git.
I feel bad that I didn't suggest it before.  That's quite expected.  Subversion
was created by  CVS developers with the intention of replacing CVS.  cvs2svn
was written by the same CVS developers, who paid attention to all CVS quirks. 
cvs2svn is quite mature and it has a testsuite, if I remember correctly.

My concern is how well a Subversion repository can be mapped to git considering
that Subversion is branch agnostic.  But if it works for Mozilla, this approach
could be recommended for anything big and serious.
The import has been
running a few hours now and it is up to the year 2000 (starts in
1998). Since I haven't hit any errors yet it will probably finish ok.
I should have the results in the morning. I wonder how long it will
take to start gitk on a 10GB repository.
That's the "raison d'etre" of qgit.  I don't know if gitk has anything that qgit
doesn't, except bisecting.
Once I get this monster into git, are there tools that will let me
keep it in sync with Mozilla CVS?
Ideally, make Mozilla developers use git :-)
SVN renamed numeric branches to this form, unlabeled-3.7.24, so that
may be a problem.
I think git-svn is supposed to do the svn->git part, but I'm afraid it will need
some work to do it effectively.  Google search for "cvs2svn incremental" brings
some patches.  cvsup can be used to synchronize the CVS repository.

--
Regards,
Pavel Roskin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help