You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Adrian Howard <ad...@quietstars.com> on 2004/02/15 13:51:46 UTC

'Base checksum mismatch' problem

Hi all,

When attempting a commit on my local repository I've got:

svn: Commit failed (details follow):
subversion/libsvn_fs/tree.c:3579: (apr_err=200014)
svn: Base checksum mismatch on 
'/perl/releases/Test-Class-0.06_4/lib/Test/Class.pod':
    expected:  a73b12517328b96bf9c88b2c4768d5e1
      actual:  54109c44ce37df41ff713bcb6784bdd2

Details:
-	I'm using svn, version 0.37.0 (r8509) on Mac OS X 1.2.8.
-	Using a file:// repository
-	svn up says my working copy is up to date
-	svnadmin recover runs fine and doesn't report anything
-	svnadmin verify says everything is okay

I've googled and checked the book and can't find anything relevant.

Any ideas?

Cheers,

Adrian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 'Base checksum mismatch' problem

Posted by Philip Martin <ph...@codematters.co.uk>.
Adrian Howard <ad...@quietstars.com> writes:

> I've  not the foggiest idea what caused the wc corruption.

If you want to investigate, here are some ideas

  - Is the date on .svn/text-base/Class.pod.svn-base familiar in any
    way?

  - Run md5sum on .svn/text-base/Class.pod.svn-base and compare it
    to the checksum for Class.pod stored in .svn/entries, they should
    be the same.

  - Run svn info on Class.pod and determine the text last updated
    time, is it familiar in any way?  Is it the same as the date on
    the text-base? (Note, a difference is not an error, but it might
    help determine what went wrong.)

  - Info also gives you the last changed revision so checkout that
    revision of the directory containing Class.pod.

  - Compare the text-base in the corrupt working copy with that in the
    new one.  Is the difference familiar?  Are the two text-base files
    the same size?

  - Run svn log on Class.pod and note the revisions at which it has
    changed.  Update Class.pod in the new working copy to each
    revision in turn and look at the checksum in .svn/entries. Do any
    of them match the checksum in the corrupt working copy?

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 'Base checksum mismatch' problem

Posted by Adrian Howard <ad...@quietstars.com>.
On Sunday, February 15, 2004, at 05:12  pm, Philip Martin wrote:
[snip]
> Most likely your working copy is corrupt, the text-base and checksum
> stored in /perl/releases/Test-Class-0.06_4/lib/Test/.svn/ don't match
> the checksum in the repository.  It's not the commit that is the
> problem, it's something that happened earlier.
[snip]

Belated thanks. This does appear to have been the problem, although 
I've  not the foggiest idea what caused the wc corruption.

Cheers,

Adrian


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 'Base checksum mismatch' problem

Posted by Philip Martin <ph...@codematters.co.uk>.
Adrian Howard <ad...@quietstars.com> writes:

> svn: Commit failed (details follow):
> subversion/libsvn_fs/tree.c:3579: (apr_err=200014)
> svn: Base checksum mismatch on
> '/perl/releases/Test-Class-0.06_4/lib/Test/Class.pod':
>     expected:  a73b12517328b96bf9c88b2c4768d5e1
>       actual:  54109c44ce37df41ff713bcb6784bdd2

Most likely your working copy is corrupt, the text-base and checksum
stored in /perl/releases/Test-Class-0.06_4/lib/Test/.svn/ don't match
the checksum in the repository.  It's not the commit that is the
problem, it's something that happened earlier.

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org