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

Re: File modification detection?

From: Andy Whitcroft <apw_at_shadowen.org>
Date: 2004-04-23 12:38:27 CEST

--On 23 April 2004 07:49 +0200 "Ph. Marek" <philipp.marek@bmlv.gv.at> wrote:

> Currently svn tests the timestamp, and possibly the size.
> IMHO it would be better to test the size first - if that differs it is
> guaranteed (modulo keyword expansion, which could be checked via
> svn:keywords) that the files differ.
> Alternatively, the md5sum of *parts* of the file could be stored (eg
> every 2MB worth), which *could* speed up verifying.

As the original submitter of the issue. I would be happy with it checking
the size and the date and assume if _both_ are the same the files are the
same. I think that is a reasonable limitation. What I was unhappy about
was it being blatant that the files were different. Different _sizes_ and
it not notice. I don't expect miracles, nor that the process be slowed 100
times for this corner case.



To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 23 12:34:13 2004

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.