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

Re: undetected local file corruption during svn export . $tmpdir

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-09-27 17:18:02 CEST

Olaf Hering wrote:
> A checkout dir on a nfs share had a file with all zeros, likely due to
> some crash and a resulting corruption on the nfs server.
> However, svn export . $tmpdir did not catch that.
> The 'entries' file in .svn does contain a checksum, should svn export
> compare the checksum of the exported file against the checksum= content?
> It appearently doesnt do that in 1.2.3.

First, "svn export ." and "svn export URL" are very different, since
exporting from a WC by default exports the WORKING version of the files, not
the BASE version.

Regarding the checksumming, my opinion is that svn should not checksum here,
because to do so would be a crippling slowdown in many cases. (And
spontaneous filesystem corruption ought to be very rare)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 27 17:19:53 2005

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

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