I don't know for sure, but my guess is that when using svnModified
, svn is being queried for each file under C:/Workspace/projects
. But when using svn status
with the command line or with TortoiseSVN, everything happens within the svn software. In the first case there is probably a lot of little queries about one file, in the second case there is only one query about a whole file tree.
To improve the performance, the only way I can think of is:
calling a
svn status
(via theexec
orsvnant
tasks) and get its outputfilter the output with regexp to keep the interesting lines about modified files
make it a list of file names and use
resourcelist
to build a resource collection from that flat list of names
Some links you might be interested in to implement it: