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

Re: SVN status and diff showing no modifications (svn 1.4.4 (r25188))

From: Wayne <wayne_at_zk.com>
Date: Thu, 08 May 2008 12:31:22 -0700

>
> Why don't they check the timestamp, then the filesize, and only then
> check the contents? After finding differences, they could a flag or
> update the timestamp to avoid duplicate checks.
>
> Hmm.
>
>
The order of checking only save you the trouble of comparing the
contents of files you already know are different (from the size and/or
time stamp.) You still end up doing a contents compare on *ALL* of the
files that have not changed. Usually this is the common case. Even for
moderate sized working copies this could be a huge performance hit. For
some large projects it would probably make commands that need to know
this unusable. For example the worst case for 'svn status' would be when
nothing at all has been changed.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-08 21:31:56 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.