[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Base checksum mismatch

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-28 18:01:42 CEST

On Wed, 2004-07-28 at 09:28, Sam Perman wrote:
> I've been using subversion with no problems for a while then today I tried
> to do a checkin and got the following error:
>
> svn: Base checksum mismatch on
> '/server/trunk/editor/src/java/web/content/ContentGroupItemChangeAction.java':
> expected: 22f7f6d4a87cdf66a2f87731ab4c2fd7
> actual: f1129820c0e9ddec640c6c86a547b01c
>

This means that your "pristine" copy of the file (in .svn/text-base/)
doesn't match the checksum recorded for it in .svn/entries.

'svn commit' sends diffs to the server by comparing your modified file
against the pristine copy; the whole reason for this checksum
verification is to make sure you're sending correct diffs to the server.

So, more than likely, you pristine copy has been changed in some way...
perhaps by a runaway shell script command, or something? Either that,
or you have a disk error or bad sector or something.

Whatever the case, I would copy the edited file far away, destroy the
parent directory (rm -rf), then 'svn up' to have the parent directory
come back. Then copy your edited file back in, run 'svn diff' to verify
it all looks good, and commit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 28 18:03:49 2004

This is an archived mail posted to the Subversion Users mailing list.