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

Bug Report/Performance Issue

From: Clifton Kilby <kilbyc_at_bellsouth.net>
Date: Thu, 20 Dec 2012 12:28:23 -0500

Using :
TortoiseSVN 1.7.10, Build 23359 - 64 Bit , 2012/10/08 11:46:26
Subversion 1.7.7,
apr 1.4.6
apr-utils 1.3.12
neon 0.29.6
OpenSSL 1.0.1c 10 May 2012
zlib 1.2.7

Windows 7 x64.

SVN server structure:
Project/clientXXX/
Project/clienXXXt/trunk
Project/clientXXX/branches
Project/clientXXX/tags

Problem,
As a Junior developer, I do not need tags. I certainly don't need it
for 650 client's. So, I have done a shallow checkout of Project/ into
C:\localSVN\Project.

I do however, get transferred on a moment's notice between clients, so
I need at least trunk from all 650 clients, but more often than not,
need branches too. I have a script that builds a TortoiseProc command:

--trunkbranchUpdate.cmd--
SET SVNPATH=
cd C:\localSVN\Project
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /f "tokens=*" %%G IN ('dir /b /Ad-h "C:\localSVN\Project"') DO IF
DEFINED SVNPATH (SET SVNPATH=!SVNPATH!*%%G/trunk*%%G/branches) ELSE
(SET SVNPATH=%%G/trunk*%%G/branches)
start /WAIT TortoiseProc.exe /command:update /path:"%SVNPATH%" /closeonend:2
SET SVNPATH=

The result looks like this:
C:\localSVN\Project>start /WAIT TortoiseProc.exe /command:update
/path:"clientXXX/trunk*clientXXX/branches*clientXXY/trunk*clientXXY/branches*clientXXZ/trunk*clientXXZ/branches"
/closeonend:2

The TSVN update window appears immediately. Then nothing. No CPU
usage, no memory usage, no network usage. After several minutes
(proportionate to the number of client roots in that string), TSVN
update window starts running. and everything is fine.

I do not know what TSVN is doing during that delay, and it is only
getting worse. If I accidentally checkout tags, I have another script
that sets tags to exclude for each client.

--tagExclude.cmd--
SET SVNPATH=
cd C:\localSVN\Project
SETLOCAL ENABLEDELAYEDEXPANSION
FOR /f "tokens=*" %%G IN ('dir /b /Ad-h "C:\localSVN\Project"') DO IF
DEFINED SVNPATH (SET SVNPATH=!SVNPATH!*%%G/tags) ELSE (SET
SVNPATH=%%G/tags)
start /WAIT TortoiseProc.exe /command:update /path:"%SVNPATH%"
/closeonend:2 /nonrecursive /stickydepth
SET SVNPATH=

This exclude command similarly hangs after bringing up the TSVN update
window.... the suddenly jumps to life. Again, no observable processor
load, no memory load, no network load. I find nothing in the
literature that tells me I am abusing the command structure (other
than I should be using command line SVN which doesn't handle this
anywhere near as friendly). I am not sure how to investigate this
since it isn't a crash.
I can tell you if I let the commands run (have no choice there) and
just do C:\localSVN\Project context menu update afterwards there is no
delay at all.
Suggestions appreciated.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3037697

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-12-20 18:29:22 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.