From: Eric Wong Date: Sat, 05 Dec 2009 22:49:50 GMT Subject: Re: svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo Message-ID: <20091205224950.GC2120@dcvr.yhbt.net> In-Reply-To: Stephen Bannasch wrote: > I use git svn often and normally it works fine. > > I getting a fatal error trying to clone the asciimathm svn repo at sourceforge: > > $ git svn clone --trunk=trunk --branches=branches http://asciimathml.svn.sourceforge.net/svnroot/asciimathml asciimathml-svn-git > fatal: Not a valid object name > ls-tree -z ./: command returned error: 128 > > Anybody seen this kind of problem before. > > A svn co works fine. > > I'm using git version 1.6.5.1 on mac os 10.5.8. Hi Stephen, Passing the "-r4:HEAD" parameter to "git svn clone" should work. It looks like the repository was initially miscreated and "trunk" was a symlink (and not a directory) in r1. I have not yet thought of a good solution to this, yet... -- Eric Wong