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

[TSVN] Re: Commit dialog taking ages to populate

From: Simon Large <slarge_at_blazepoint.co.uk>
Date: 2004-09-10 10:30:26 CEST

"SteveKing" wrote:
> The reason that some projects get slower is that if the filedates change
> but not the contents, then Subversion has to go through the whole file,
> reading each byte up to the end of that file to check if it was really
> modified or not. That's how Subversion determines the status of a file.
> If the filedate hasn't changed, then Subversion assumes that the file
> isn't modified and doesn't read it byte by byte.

Is that a recognised issue with subversion?

Does that mean that if you do a "touch *.c" or similar you will cripple the
performance?

Sounds like the fix in SVN is trivial - if you have to compare a file
byte-by-byte and they turn out to be the same, just change the timestamp on
the pristine copy to match the user copy, so that the slowness does not
re-occur.

In fact if that is the case, it would be possible to write a utility to
recurse through the .svn folders and do just that. But it should really be
fixed in SVN - users aren't supposed to touch (excuse the pun) the .svn
content.

Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Sep 11 20:19:00 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.