threads / discuss / 14057

git svn: how to recover from checksum mismatch?

Subject: git svn: how to recover from checksum mismatch?

## tl;dr

2 messages between Jun 20, 2008 and Jun 20, 2008.

replies: 1people: 1as markdown or json

Alexander Gladysh· Jun 20, 2008, 10:56 UTC · lore
Hi, list!

Today I've upgraded to git 1.5.6 from 1.5.5.something (probably 1). When I've run git svn rebase on my repo, it complained about "checksum mismatch: trunk/path/myfile HASH".

BTW, Before that failing commit there were one more (successful) with some strange complains about whitespace errors:

    warning: CRLF will be replaced by LF in
/var/folders/8u/8uiW+GhrGka2OlIHiT1fsU+++TI/-Tmp-/hoizGwiM2P

I'm on OS X 10.5.3 and my repo is not in /var/folders tree (trailing part of path is different for each file).

The same errors are on my second copy of that repo (independent git repo made by the same git svn init as first).

When I run git svn init + git svn fetch on a fresh folder, it bails out with checksum error after a few first commits (on 20th commit actually) while giving the same odd CRLF warnings.

When I run git svn rebase on another machine (Ubuntu Hardy, git 1.5.5.1), it run smoothly without errors, so this, probably, is not an SVN repo corruption.

I have reverted back to git 1.5.5.1, but I still get that checksum error. I'm fetching a fresh git svn init+fetch from svn, but it takes a few hours, and I have to do it twice (for each of my two repos). Any advice on how can I recover less painlessly?

Thank you in advance, Alexander.

Alexander Gladysh· Jun 20, 2008, 11:36 UTC · re: Alexander Gladysh · lore

Re: git svn: how to recover from checksum mismatch?

> I have reverted back to git 1.5.5.1, but I still get that checksum
> error. I'm fetching a fresh git svn init+fetch from svn, but it takes
> a few hours, and I have to do it twice (for each of my two repos). Any
> advice on how can I recover less painlessly?
That is more painlessly of course, not less, sorry :)

← back to recent threads