Re: git svn error "Not a valid object name"
- From
- Eric 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.