{"thread":{"id":"16848","subject":"Error : git svn fetch","startedAt":"2008-12-23T12:25:30Z","lastAt":"2009-01-08T02:55:54Z","messageCount":2,"participants":["chongyc","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"98604","messageId":"E48CF49FF0FE4F96BE206B2689165AF9@VMware","threadId":"16848","inReplyTo":null,"subject":"Error : git svn fetch","fromName":"chongyc","fromEmail":"chongyc27@gmail.com","sentAt":"2008-12-23T12:25:30Z","receivedAt":"2008-12-23T12:25:30Z","isPatch":false,"sender":{"key":"chongyc27@gmail.com","avatar":"https://gravatar.com/avatar/2e4e0f376f8474fd86c1466c95384d836fd7ffaef0aa8d0b87188ff8562d6f52?d=mp&s=160"},"body":"Hi\n\nI found that 'git svn fetch' failed in cloning the hudson svn reposotory.\n\nI want to git-clone the svn repository\n\nsvn repository URL : https://svn.dev.java.net/svn/hudson/\nusername : guest\npassword :\n\n\nSo I run followings to git-clone\n\n[root@localhost hudson]# git --version\ngit version 1.6.0.6\n[root@localhost hudson]# git svn init -T trunk -t tags -b branches \nhttps://svn.dev.java.net/svn/hudson/\n[root@localhost hudson]# git svn fetch\nFound possible branch point: \nhttps://svn.dev.java.net/svn/hudson/tags/hudson-1_230 => \nhttps://svn.dev.java.net/svn/hudson/branches/buildnav-1636, 10490\nInitializing parent: buildnav-1636@10490\nFound possible branch point: \nhttps://svn.dev.java.net/svn/hudson/trunk/hudson/main => \nhttps://svn.dev.java.net/svn/hudson/tags/hudson-1_230, 10450\nInitializing parent: buildnav-1636@10450\nFound branch parent: (buildnav-1636@10490) a1c395e5db063ca1ffbbe008e309c5\n11d56219e0\nFollowing parent with do_switch\nremoting/pom.xml was not found in commit \na1c395e5db063ca1ffbbe008e309c511d56219e0 (r10447)\n[root@localhost hudson]#\n\nWhat shall I do to git-clone it ?\n\nPlease help me\n\n>From chongyc \n"},{"id":"99664","messageId":"20090108025554.GA28599@dcvr.yhbt.net","threadId":"16848","inReplyTo":"E48CF49FF0FE4F96BE206B2689165AF9@VMware","subject":"Re: Error : git svn fetch","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-01-08T02:55:54Z","receivedAt":"2009-01-08T02:55:54Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"chongyc <chongyc27@gmail.com> wrote:\n> Hi\n> \n> I found that 'git svn fetch' failed in cloning the hudson svn reposotory.\n> \n> I want to git-clone the svn repository\n> \n> svn repository URL : https://svn.dev.java.net/svn/hudson/\n> username : guest\n> password :\n> \n> \n> So I run followings to git-clone\n> \n> [root@localhost hudson]# git --version\n> git version 1.6.0.6\n> [root@localhost hudson]# git svn init -T trunk -t tags -b branches \n> https://svn.dev.java.net/svn/hudson/\n> [root@localhost hudson]# git svn fetch\n> Found possible branch point: \n> https://svn.dev.java.net/svn/hudson/tags/hudson-1_230 => \n> https://svn.dev.java.net/svn/hudson/branches/buildnav-1636, 10490\n> Initializing parent: buildnav-1636@10490\n> Found possible branch point: \n> https://svn.dev.java.net/svn/hudson/trunk/hudson/main => \n> https://svn.dev.java.net/svn/hudson/tags/hudson-1_230, 10450\n> Initializing parent: buildnav-1636@10450\n> Found branch parent: (buildnav-1636@10490) a1c395e5db063ca1ffbbe008e309c5\n> 11d56219e0\n> Following parent with do_switch\n> remoting/pom.xml was not found in commit \n> a1c395e5db063ca1ffbbe008e309c511d56219e0 (r10447)\n> [root@localhost hudson]#\n> \n> What shall I do to git-clone it ?\n> \n> Please help me\n\nHi, sorry for the late reply, I've been very distracted.\n\nLooking at the hudson repository, the layout is non-standard and very\ncomplex, with subdirectories being branched and tagged all over.  The\nstandard globbing that git-svn uses for most repositories does won't\nwork.  You'll have to map things manually:\n\n[svn-remote \"svn\"]\n        url = https://svn.dev.java.net/svn/hudson\n        fetch = trunk/hudson:refs/remotes/trunk\n        fetch = branches/tom:refs/remotes/tom\n\t...\n\nAlternately, you could just clone the root and have all the branches all\nover the place in one tree (your eventually working copy will be huge).\n\n  git svn clone https://svn.dev.java.net/svn/hudson\n\n\nBasically this is the equivalent of:\n\n  svn co https://svn.dev.java.net/svn/hudson\n\nExcept you'll have the full history.\n\n-- \nEric Wong\n"}]}