"git svn fetch" fails, ls-tree dies due to missing tree object

"git svn fetch" does not end and spews the following messages (errors):

(dev) martinom :: /var/my/git ‹master*› » git svn fetch
Found possible branch point: http://.../branches/dexter/lib => http://.../tags/dexter-17, 25032
Initializing parent: refs/remotes/tags/dexter-17@25032 branch_from: /.../trunk => /.../trunk/lib
Found possible branch point: http://.../trunk/lib => http://.../branches/dexter/lib, 24233
Initializing parent: refs/remotes/tags/dexter-17@24233
fatal: Not a valid object name 
ls-tree -z  ./: command returned error: 128

It seems that in ls-tree there is no object name before the path there. I do not know in what context this is called and why it is not there.

A little background can help tell what is wrong:

  • I had to create a tag from the entire repository in / tags, however I only managed to copy the /.../lib branches into tags, creating a broken tag (svn cp ...).
  • Then I deleted the broken tag (dexter-17) with svn rm.
  • I created a new correct tag with another cp call.

Then normal development continued, and everything was fine. Well, until I tried to update the git-svn repository.

, . -, , , 25 ., git .

- git -svn - , . .

, , / subversion/db, git -svn. - .

, git -svn barf, . .git/svn/refs/remotes/tags dexter-17, dexter-17 @2423 dexter-17 @25032 .. ...

+5
1

"git svn rebase", git SVN. ?

0

All Articles