Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

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

From: Eric Wong <hidden>
Date: 2016-06-15 22:56:24

Adam Retter [off-list ref] 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...
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help