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

Re: git svn error "Not a valid object name"

From
EWEric Wong <normalperson@yhbt.net>
Date
Mar 16, 2013, 01:45 UTC
Message-ID
<20130316014548.GA16253@dcvr.yhbt.net>
In-Reply-To
<CAJKLP9ZQBXf5ZZY9FccOAL5QU+q1b5SnAfvP9BpARdqvzPuWeg@mail.gmail.com>
Adam Retter <adam@exist-db.org> wrote:
> Our public SourceForge Subversion repository is here:
> http://svn.code.sf.net/p/exist/code/trunk/eXist
It's asking me for a username/password...
Show 20 quoted lines
> We cloned that to the local server using rsync and are attempting to
> migrate to git using the following commands:
> 
> $ git svn init -t tags -b stable -T trunk
> file:///home/ec2-user/svn-rsync/code new-git-repo
> $ cd new-git-repo
> $ git config svn-remote.svn.preserve-empty-dirs true
> $ git config svn-remote.svn.rewriteRoot https://svn.code.sf.net/p/exist/code
> $ git svn fetch -A /home/ec2-user/.svn2git/authors.txt
> 
> It all started well and was running away for quite some hours, when
> the following error occurred:
> 
> fatal: Not a valid object name
> ls-tree -z  ./webapp/api/: command returned error: 128
> 
> I have no idea what this means, or how to fix this.
> We are using Git version 1.8.1.GIT on Amazon EC2 Linux.
> 
> Any suggestions please?

You might've hit a bug in branch detection, but I'd have to look at the repo to be certain and fix it if neded. --no-follow-parent should work, but you'd lose branch/tag history.

Previous: Adam RetterNext: Adam Retter
Message 2 of 7 in “git svn error "Not a valid object name"”
  1. Adam RetterMar 11, 2013
  2. Eric WongMar 16, 2013
  3. Adam RetterMar 16, 2013
  4. Eric WongMar 16, 2013
  5. Dannes WesselsMar 16, 2013
  6. Adam RetterMar 16, 2013
  7. Thomas RastMar 16, 2013

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.