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

Performance of `svn status <filename>'

From: Stephen Peters <portnoy_at_portnoy.org>
Date: 2004-03-10 18:24:20 CET

I noticed that an 'svn status <filename>' command was taking a long
time to complete, which I found odd since it should only be checking
the status of one file and not using the network. Performing an
'strace' on the command, however, indicates that every directory in
the subtree was having its 'format' and 'entries' files read. Since
this was a significant number of directories, this was taking a long
time. The same behavior occurs even when I do 'svn status -N
<filename>'.

Is there a reason why all the subdirectories have to be checked, or is
this a performance bug?

-- 
Stephen L. Peters                                  portnoy@portnoy.org
  GPG fingerprint: A1BF 5A81 03E7 47CE 71E0  3BD4 8DA6 9268 5BB6 4BBE
    "Celebrated heads of state or 'specially great communicators.
 Did they have brains or knowledge?  Don't make me laugh! They were...
	POPULAR!  It's all about pop-u-ooo-lar..." -- Wicked
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 10 18:24:53 2004

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.