Re: svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Dec 5, 2009, 22:49 UTC
- Message-ID
- <20091205224950.GC2120@dcvr.yhbt.net>
- In-Reply-To
- <p0624081ac73dd6a1aaff@[63.138.152.192]>
Stephen Bannasch <stephen.bannasch@deanbrook.org> wrote:
Show 13 quoted lines
> 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