Matthew Carter wrote:
> Background:
> I'm using Tortoise SVN 1.2.6 on Windows XP.
> I've got > 1GB free disk space.
> I've got 1GB memory, and this problem occurs with only 1 Windows
> Explorer window open.
> My working copy contains 9791 files and 745 directories.
> I have two plain text files in the top level directory of my working copy.
> Each of them contains local modifications.
> I select them both in the Windows Explorer
> I right-click on one of the selected files and select "SVN Commit..."
> It takes 29 minutes for the modified file list in the resulting dialog
> box to become populated so that I can click "OK" to perform the commit.
> I right-click on one file and select "SVN Commit..." from the pop-up menu.
> It takes less than a second for the modified file list to become
> populated so that I can click "OK" to perform the commit.
Confirmed (sort of) with r5295 using any 2 text files at the top level
of TSVN trunk. But it takes about 6 seconds on my PC if 2 files are
selected and almost no time if only 1 is selected. I believe that is
because in the general case it is quicker to get the status of the
parent folder rather than stat the files infividually. But it seems the
status call is being done recursively. Is that a bug?
The second issue is why it takes *so* long on your PC. Windows thinks
the TSVN trunk WC contains 23,600 files in 4,200 folders. A lot of those
will be .svn folders, and it includes externals, but even so it is at
least comparable with the WC you have there. So why do I get 6 seconds
when you get 29 minutes?
One possibility is that the file dates have changed but the content
hasn't, perhaps because the IDE does that, or you used 'touch *.*' or
something. In that case, Subversion does a byte-for-byte compare between
the WC file and the BASE copy to see if they really are the same. To
make the WC and BASE timestamps match up properly, execute a 'Cleanup'
command at the top level, then try timing it again.
Another possibility is that your virus scanner is also looking at every
file you access, possibly creating access conflicts.
Or the WC is on a network or other very slow drive ... clutching at
straws here.
Simon
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Jan 1 23:29:03 2006