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

Re: Performance of `svn status <filename>'

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-03-10 18:31:57 CET

Stephen Peters <portnoy@portnoy.org> writes:

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

It's a known perf bug, with (IIRC) a fix either in place, or existing
as a patch awaiting approval.

---------------------------------------------------------------------
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:33:26 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.