{"thread":{"id":"21850","subject":"svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo","startedAt":"2009-12-03T21:00:41Z","lastAt":"2009-12-06T17:49:18Z","messageCount":3,"participants":["Stephen Bannasch","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"129145","messageId":"p0624081ac73dd6a1aaff@[63.138.152.192]","threadId":"21850","inReplyTo":null,"subject":"svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo","fromName":"Stephen Bannasch","fromEmail":"stephen.bannasch@deanbrook.org","sentAt":"2009-12-03T21:00:41Z","receivedAt":"2009-12-03T21:00:41Z","isPatch":false,"sender":{"key":"stephen.bannasch@deanbrook.org","avatar":null},"body":"I use git svn often and normally it works fine.\n\nI getting a fatal error trying to clone the asciimathm svn repo at sourceforge:\n\n$ git svn clone --trunk=trunk --branches=branches http://asciimathml.svn.sourceforge.net/svnroot/asciimathml asciimathml-svn-git\nfatal: Not a valid object name\nls-tree -z  ./: command returned error: 128\n\nAnybody seen this kind of problem before.\n\nA svn co works fine.\n\nI'm using git version 1.6.5.1 on mac os 10.5.8.\n"},{"id":"129297","messageId":"20091205224950.GC2120@dcvr.yhbt.net","threadId":"21850","inReplyTo":"p0624081ac73dd6a1aaff@[63.138.152.192]","subject":"Re: svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-12-05T22:49:50Z","receivedAt":"2009-12-05T22:49:50Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Stephen Bannasch <stephen.bannasch@deanbrook.org> wrote:\n> I use git svn often and normally it works fine.\n>\n> I getting a fatal error trying to clone the asciimathm svn repo at sourceforge:\n>\n> $ git svn clone --trunk=trunk --branches=branches http://asciimathml.svn.sourceforge.net/svnroot/asciimathml asciimathml-svn-git\n> fatal: Not a valid object name\n> ls-tree -z  ./: command returned error: 128\n>\n> Anybody seen this kind of problem before.\n>\n> A svn co works fine.\n>\n> I'm using git version 1.6.5.1 on mac os 10.5.8.\n\nHi Stephen,\n\nPassing the \"-r4:HEAD\" parameter to \"git svn clone\" should work.  It\nlooks like the repository was initially miscreated and \"trunk\" was a\nsymlink (and not a directory) in r1.\n\nI have not yet thought of a good solution to this, yet...\n\n-- \nEric Wong\n"},{"id":"129347","messageId":"p06240802c7419ec49cd5@[192.168.1.106]","threadId":"21850","inReplyTo":"20091205224950.GC2120@dcvr.yhbt.net","subject":"Re: svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo","fromName":"Stephen Bannasch","fromEmail":"stephen.bannasch@deanbrook.org","sentAt":"2009-12-06T17:49:18Z","receivedAt":"2009-12-06T17:49:18Z","isPatch":false,"sender":{"key":"stephen.bannasch@deanbrook.org","avatar":null},"body":"At 2:49 PM -0800 12/5/09, Eric Wong wrote:\n>Stephen Bannasch <stephen.bannasch@deanbrook.org> wrote:\n>> I use git svn often and normally it works fine.\n>>\n>> I getting a fatal error trying to clone the asciimathm svn repo at sourceforge:\n>>\n>> $ git svn clone --trunk=trunk --branches=branches http://asciimathml.svn.sourceforge.net/svnroot/asciimathml asciimathml-svn-git\n>> fatal: Not a valid object name\n> > ls-tree -z  ./: command returned error: 128\n>\n>Passing the \"-r4:HEAD\" parameter to \"git svn clone\" should work.  It\n>looks like the repository was initially miscreated and \"trunk\" was a\n>symlink (and not a directory) in r1.\n\nThanks Eric, your suggestion worked.\n\nHow could you tell the first svn commit was a symlink?\n"}]}