victoria kirst

git svn checksum mismatch

December 17th, 2010 | 6 Comments »

When I update suuuuuper old Chromium repositories, I occasionally get that stupid Checksum mismatch from svn. It happens often enough that it's a thing, but uncommonly enough that I forget how to fix it each time. So, FOR PROSPERITY:

Checksum mismatch: trunk/src/chrome/test/functional/ 5d1082dfc3e6363ece792d7cd49fde0a7ce9c6df
expected: e88e3ea6349cb44955d58e6a3964824f
got: af58cced63097504e4bfb6574c252f4a

Then proooobably what happens was downloaded wonky or something such that the hash no longer came to be the correct thing. So solution:

See what was the revision number of the last change on the file:

git svn log chrome/test/functional/

Reset svn to be closest parent before that revision:

git svn reset -r62248 -p

Do a git svn fetch!

git svn fetch

Dance at your success.


  1. Thank you SO MUCH. There are tons of threads on Google promising solutions, but nothing has worked. This not only works, but has a feasible explanation of what's gone wrong and a solution that actually makes sense.

    Linking to you from StackOverflow here:

  2. Matt says:

    +1 for a great solution. This is the only thing that's worked for me as well, just like Domenic stated. Big thanks :-D

  3. Ali says:

    I got the following error once i ran the command you mentioned.

    # git svn fetch
    Checksum mismatch: xxx/yyy/ 091f277343646871f019a159af895ed5943ce0fc
    expected: 5fad939c76344afa9fa088fa843aba5e
    got: 8bc1f834ffce935fa67cc5cde94a9e14

    # git svn log xxx/yyy/
    fatal: bad revision 'HEAD'
    rev-list –first-parent –pretty=medium HEAD –: command returned error: 128

  4. Ganesh says:

    Yes I am also getting same error.

    git svn log xxx/yyy/
    fatal: bad revision 'HEAD'
    rev-list –first-parent –pretty=medium HEAD –: command returned error: 128

  5. Gus says:

    Dancin' :mininote: :-D :shing1: :thumbup:

    Thanks a bunch!

Leave a Reply

Your email address will not be published. Required fields are marked *

:-) :-D ;-) :-P :-( :-| :miniheart: :mininote: :minisweat1: :minisweat2: :minimad1: :minimad2: :minidread: :shing1: :shing2: :thumbup: :thumbdown: :girlnormal: :girlhappy: :girlblank: :girlsad: :girlpout: :girlconf: :girleh: :girlmad: :heart: :note: :sweat: :...: :happy: :sad: :flower: :sun: :lightening: :cloud: :partcloud: :snow: :pencil: :coffee: :food: