{"thread":{"id":"21965","subject":"git svn clone just stops","startedAt":"2009-12-15T22:19:15Z","lastAt":"2009-12-20T09:44:41Z","messageCount":6,"participants":["Mark Jerkovic","Eric Wong","Pascal Obry"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"129967","messageId":"1260915555.6475.8.camel@mark.engr.acx","threadId":"21965","inReplyTo":null,"subject":"git svn clone just stops","fromName":"Mark Jerkovic","fromEmail":"mjerkovic@aconex.com","sentAt":"2009-12-15T22:19:15Z","receivedAt":"2009-12-15T22:19:15Z","isPatch":false,"sender":{"key":"mjerkovic@aconex.com","avatar":null},"body":"Hi all,\n\nI am new to Git and I am attempting to clone a SVN repository\n(containing approximately 60,000 commits) to Git.\n\nUsing Git v1.6.0.4 with the following command:\n\ngit svn clone https://path/to/svn/repo/trunk project.git\n--authors-file=svnauthors.txt --no-metadata\n\nthe process just ends without any messages and the Git repository is\nempty.  I have attempted this four times already, and each time it has\nstopped after a different revision, so I can't pin it down to a\nparticular commit.\n\nHas anyone experienced this before?  Is there a log anywhere that\nrecords what is happening during this process?\n\nThanks,\nMark.\n"},{"id":"129985","messageId":"20091216081514.GB26038@dcvr.yhbt.net","threadId":"21965","inReplyTo":"1260915555.6475.8.camel@mark.engr.acx","subject":"Re: git svn clone just stops","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-12-16T08:15:14Z","receivedAt":"2009-12-16T08:15:14Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Mark Jerkovic <mjerkovic@aconex.com> wrote:\n> Hi all,\n> \n> I am new to Git and I am attempting to clone a SVN repository\n> (containing approximately 60,000 commits) to Git.\n> \n> Using Git v1.6.0.4 with the following command:\n> \n> git svn clone https://path/to/svn/repo/trunk project.git\n> --authors-file=svnauthors.txt --no-metadata\n> \n> the process just ends without any messages and the Git repository is\n> empty.  I have attempted this four times already, and each time it has\n> stopped after a different revision, so I can't pin it down to a\n> particular commit.\n\nHi Mark,\n\nAny chance you're OOM-ing (extremely large file) or running\nout of space somewhere?  What exit code do you get when it exits?\n\n> Has anyone experienced this before?  Is there a log anywhere that\n> records what is happening during this process?\n\nNot without error messages of some sort.  git svn was designed with poor\nnetwork conditions in mind and clone is resumable, so you can just\nresume like this:\n\n   cd project.git && git svn fetch\n\nI wouldn't use --no-metadata at this point, though, as it makes it much\nharder to debug/fix things or recover from errors.\n\nOnce you're comfortable with it, you should be able to write\n\"git filter-branch\" invocation to remove the metadata lines.\n\n-- \nEric Wong\n"},{"id":"130000","messageId":"1260996458.6475.11.camel@mark.engr.acx","threadId":"21965","inReplyTo":"20091216081514.GB26038@dcvr.yhbt.net","subject":"Re: git svn clone just stops","fromName":"Mark Jerkovic","fromEmail":"mjerkovic@aconex.com","sentAt":"2009-12-16T20:47:38Z","receivedAt":"2009-12-16T20:47:38Z","isPatch":false,"sender":{"key":"mjerkovic@aconex.com","avatar":null},"body":"On Wed, 2009-12-16 at 00:15 -0800, Eric Wong wrote:\n> Mark Jerkovic <mjerkovic@aconex.com> wrote:\n> > Hi all,\n> > \n> > I am new to Git and I am attempting to clone a SVN repository\n> > (containing approximately 60,000 commits) to Git.\n> > \n> > Using Git v1.6.0.4 with the following command:\n> > \n> > git svn clone https://path/to/svn/repo/trunk project.git\n> > --authors-file=svnauthors.txt --no-metadata\n> > \n> > the process just ends without any messages and the Git repository is\n> > empty.  I have attempted this four times already, and each time it has\n> > stopped after a different revision, so I can't pin it down to a\n> > particular commit.\n> \n> Hi Mark,\n> \n> Any chance you're OOM-ing (extremely large file) or running\n> out of space somewhere?  What exit code do you get when it exits?\n> \n> > Has anyone experienced this before?  Is there a log anywhere that\n> > records what is happening during this process?\n> \n> Not without error messages of some sort.  git svn was designed with poor\n> network conditions in mind and clone is resumable, so you can just\n> resume like this:\n> \n>    cd project.git && git svn fetch\n> \nThat is an excellent tip.  Thanks a lot!\n> I wouldn't use --no-metadata at this point, though, as it makes it much\n> harder to debug/fix things or recover from errors.\n> \n> Once you're comfortable with it, you should be able to write\n> \"git filter-branch\" invocation to remove the metadata lines.\nI have done some more investigating and it appears that at some point a\nbranch was moved to replace our trunk.  When the migration process hits\nthis I it goes back to the beginning and starts migrating the branch\nhistory too.  I think when it gets to the end of it is not able to\nresume from the \"move\" point.  \n\nI will try your resume tip to see if I can get it started again.\n\nMany thanks,\nMark.\n> \n"},{"id":"130071","messageId":"4B2B990B.9060502@obry.net","threadId":"21965","inReplyTo":"20091216081514.GB26038@dcvr.yhbt.net","subject":"Re: git svn clone just stops","fromName":"Pascal Obry","fromEmail":"pascal@obry.net","sentAt":"2009-12-18T15:00:27Z","receivedAt":"2009-12-18T15:00:27Z","isPatch":false,"sender":{"key":"pascal@obry.net","avatar":"https://avatars.githubusercontent.com/u/467069?v=4"},"body":"Eric,\n\n> Not without error messages of some sort.  git svn was designed with poor\n> network conditions in mind and clone is resumable, so you can just\n> resume like this:\n> \n>    cd project.git && git svn fetch\n\nWhat about --revision option. I mean if I have this clone interrupted:\n\n   $ git svn clone --revision=345:HEAD svn+ssh://...\n\nShould I specify --revision when restarting with fetch? I think I had an\nissue with this...\n\nMaybe some other options are also to be passed to fetch?\n\nThanks.\n\n-- \n\n--|------------------------------------------------------\n--| Pascal Obry                           Team-Ada Member\n--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE\n--|------------------------------------------------------\n--|    http://www.obry.net  -  http://v2p.fr.eu.org\n--| \"The best way to travel is by means of imagination\"\n--|\n--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B\n"},{"id":"130186","messageId":"20091220085731.GA11535@dcvr.yhbt.net","threadId":"21965","inReplyTo":"4B2B990B.9060502@obry.net","subject":"Re: git svn clone just stops","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-12-20T08:57:31Z","receivedAt":"2009-12-20T08:57:31Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Pascal Obry <pascal@obry.net> wrote:\n> Eric,\n> \n> > Not without error messages of some sort.  git svn was designed with poor\n> > network conditions in mind and clone is resumable, so you can just\n> > resume like this:\n> > \n> >    cd project.git && git svn fetch\n> \n> What about --revision option. I mean if I have this clone interrupted:\n> \n>    $ git svn clone --revision=345:HEAD svn+ssh://...\n> \n> Should I specify --revision when restarting with fetch? I think I had an\n> issue with this...\n> \n> Maybe some other options are also to be passed to fetch?\n\nHi Pascal,\n\n--revision may be passed to fetch, but its optional.  fetch should\nalways know where to pickup after it left off.\n\n\"git svn $command -h\" shows you all options a particular $command\nallows.\n\n-- \nEric Wong\n"},{"id":"130187","messageId":"4B2DF209.1010200@obry.net","threadId":"21965","inReplyTo":"20091220085731.GA11535@dcvr.yhbt.net","subject":"Re: git svn clone just stops","fromName":"Pascal Obry","fromEmail":"pascal@obry.net","sentAt":"2009-12-20T09:44:41Z","receivedAt":"2009-12-20T09:44:41Z","isPatch":false,"sender":{"key":"pascal@obry.net","avatar":"https://avatars.githubusercontent.com/u/467069?v=4"},"body":"Hi Eric,\n\n> --revision may be passed to fetch, but its optional.  fetch should\n> always know where to pickup after it left off.\n\nOk, thanks for the info.\n\n-- \n\n--|------------------------------------------------------\n--| Pascal Obry                           Team-Ada Member\n--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE\n--|------------------------------------------------------\n--|    http://www.obry.net  -  http://v2p.fr.eu.org\n--| \"The best way to travel is by means of imagination\"\n--|\n--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B\n"}]}