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

Checksum error

From: Martin Krischik <krischik_at_users.sourceforge.net>
Date: Tue, 6 May 2008 22:20:11 +0200

Hello,

I work offline with subversion quite a bit - which included coping the work
dir from and to mobile hard drive. And from time to time I get the following
error message:

---------------
>svn update
svn: REPORT Anfrage fehlgeschlagen auf »/svnroot/uiq3/!svn/vcc/default«
svn: Prüfsummenfehler
für »JavaME/FX-602P/.settings/.svn/text-base/org.eclipse.core.resources.prefs.svn-base«;
erwartet: »3a05af514df1e701c61d258f1929bf1f«,
tatsächlich: »a475182e32f5413e7690614b933ef499«
---------------

Ok, thats german, let me explain: The errror message basicly says that the
checksums for for the file org.eclipse.core.resources.prefs.svn-base does not
aggree with the expected value.

First I like to quote a matra I created for myself over the years beeing a
programmer:

"Error messages without a hint on how to resolve the problem are useless and
only frustrate the user."

Classic example: "File does not exist!" - not quite helpfull with out the
filename.

With the problem at hand I at least know the filename - but that is not enough
since there is no hint on how to recreate a filename with the right checksum.

Currently the only solution I know of is called "deltree" a shell function I
wrote together with "svn update". You can guess from the name what the
function does.

As far as I see not having checksums at all would be by far better then the
use "deltree". Yes, .svn/text-base/org.eclipse.core.resources.prefs.svn-base
is corrupted - but what is that compared with the actual
org.eclipse.core.resources.prefs file.

Personally I think "svn cleanup" should fix checksum errors.

And even better would be the clearcase approach where the control data for a
snapshoot view is keep separate from the work files.

Regards

Maritn

-- 
Martin Krischik
mailto://krischik@users.sourceforge.net

Received on 2008-05-06 23:01:21 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.