[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: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-04-26 15:21:13 CEST

On Tue, 26 Apr 2005, François Beausoleil wrote:

> 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.
>
svn cleanup, but that's in 1.2.

Also, note that svn has to check the property files, which also takes
time. Performance on Windows isn't as good as we'd like because of svn
using many small files.

Regards,
//Peter

---------------------------------------------------------------------
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:17:17 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.