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

sanity check / paranoid option?

From: Steve Suehs <csuehs_at_drillinginfo.com>
Date: 2007-08-15 21:56:17 CEST

I've seen something strange that appears to be wc corruption.
Every once in a while we find a wc that thinks it is up-to-date but a
given file is different than its copy in a freshly-checked-out wc.
We have not been able to isolate the actions that lead up to the
condition... yet. Usually this occurs because the developer does
something clever with find, sed/awk etc, which changes file copies in
the .svn directories.

I have noticed a pattern involving a revert and merging may come into
play as well. I'm still trying to nail it down. It is not consistent
enough to be readily reproducible. (Intermittent bugs are fun that
way...and it may indeed turn out to be pebcakb.) I notice that the
checksum in the wc appears to be the same as the checksum in the fresh
copy, though the files are different, so the checksum is cached or not
recalced.

Is there a sanity check command to have the subversion client re-calc
checksums or to do a paranoid check against the repository? Or an
alternative idea would be great, too.

-s

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 15 21:55:52 2007

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.