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

Re: "svn status" performance

From: François Beausoleil <fbeausoleil_at_ftml.net>
Date: 2005-04-26 15:03:40 CEST

Hi,

Ludvig Strigeus said the following on 2005-04-26 08:52:
> A better solution is:
> * check if timestamp & size matches, if they do, mark the file as not
> modified
> * compute the SHA1 hash of the file and compare it to the entries file,
> if equal, mark the file as not modified, otherwise, the file has been
> modified.

And that is exactly the algorithm SVN utilizes (except it's using MD5
instead of SHA1). If Subversion reads all files, then your timestamps
might be off. There's an operation you can do that will correct the
timestamps, but I can't remember the command to use.

Try update ?

Hope that helps,
François

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 26 15:02:38 2005

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.