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

Re: Checksum error

From: Martin Krischik <krischik_at_users.sourceforge.net>
Date: Wed, 7 May 2008 06:50:52 +0200

Am Dienstag 06 Mai 2008 schrieb Karl Fogel:

> > Personally I think "svn cleanup" should fix checksum errors.
>
> Hmmm.  How?  If Subversion knew for sure what data should be there, it
> wouldn't error at all, it would just put the right data in place.  Maybe
> 'svn cleanup' could contact the repository and get the file, is that
> what you're thinking?

I don't know the internals of Subversion so I can only
guess: .svn/text-base/org.eclipse.core.resources.prefs.svn-base is used to
find out if org.eclipse.core.resources.prefs changed - so yes in this case
the original version should be available in the repository.

Another option would be a command which recreates all the .svn files.

For my problem the perfect solution would different: Keep the .svn/* files in
a separate directory tree - then I would only copy the workfiles around and
the .svn/* would not get corrupted in the first place.

Speaking of it ... maybe some rsync --exclude magic could do the trick as
well...

Martin

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

Received on 2008-05-07 07:32:40 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.