git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo

From
EWEric 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
Previous: Stephen BannaschNext: Stephen Bannasch
Message 2 of 3 in “svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo”
  1. Stephen BannaschDec 3, 2009
  2. Eric WongDec 5, 2009
  3. Stephen BannaschDec 6, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.