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

RE: Re: "svn status" performance

From: Ludvig Strigeus <lstrigeus_at_accuratetechnologies.com>
Date: 2005-04-26 15:18:36 CEST

Unfortunately, I don't experience this behavior on Windows XP.

My steps:
 * check out a fresh working copy
 * run "svn status"

Monitoring the system calls reveals that it reads ALL working copy files and all base files.

I use this version:
svn, version 1.1.3 (r12730)
   kompilerad Jan 20 2005, 05:51:34

/Ludvig

-----Original Message-----
From: François Beausoleil [mailto:fbeausoleil@ftml.net]

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

---------------------------------------------------------------------
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:30:35 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.