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

[TSVN_U] Re: [TSVN] TSVNCache keeps handles to unversioned folders

From: Markus Gölzner <markus_at_decom.at>
Date: 2005-10-12 11:46:40 CEST

> I can't reproduce this with a mapped dir from another XP
> machine. Maybe your network connection isn't working properly
> and looses messages (like
> CloseHandle() ), or your server might not be set up
> correctly, or you have another app interfering with the cache
> (virus scanners are known to cause such problems, because
> they lock files which then prevents the cache from closing
> those files properly).
- There is no evidence besides TSVNCache behaving strange of a network
prolem.
- The SVN server seems to work correctly. I can browse all repositories with
TSVN. The issue arises with a completely unversioned folder structure,
though the SVN server should not matter at all.
- There are no virus scanners at the server. On the workstation ClamWin
Antivirus is installed. An on demand scanner which does not interfere by
design.
- I can reproduce the issue using a loopback connection on a XP machine. The
following batch creates the test folders and files under the current
directory. It creates a share of the current directory named 'TSVN_test' and
maps the drive T: to ...\TSVN_test\Work\.
- Maybe my instruction steps were not exact enough.

Steps to reproduce:
1. Configure "T:\Projects" as the only included path for TSVN.
2. Uncheck all included drive types in the TSVN configuration.
3. Create a batch file with the following content in any local folder:
--8<------
SETLOCAL
SET ROOT=%CD%
MD TSVN_test\Work\Projects
CD TSVN_test\Work\Projects
FOR /L %%I IN (1,1,5) DO (
  MD Test%%I
  ECHO Sample > Test%%I\Sample%%I.txt
  FOR /L %%J IN (1,1,5) DO (
    MD Test%%I\Sub%%J
    FOR /L %%K IN (1,1,5) DO (
      ECHO Sample > Test%%I\Sub%%J\Sample%%K.txt
    )
  )
)
NET SHARE TSVN_test=%ROOT%
NET USE T: "\\%COMPUTERNAME%\TSVN_test\TSVN_test\Work"
ECHO Continue to remove test artefacts.
PAUSE
NET USE T: /DELETE
NET SHARE TSVN_test /DELETE
RD /S "%ROOT%\TSVN_test"
ENDLOCAL
--8<------
4. Execute the batch.
5. Close all Windows Explorer windows.
6. Kill "TSVNCache.exe" process if it exists.
7. Open Windows Explorer and navigate to "T:\Projects" and then to
"T:\Projects\Test1".
8. Close Windows Explorer.
9. Check the owned file handles of "TSVNCache.exe" with "Process Explorer"
or a similar tool. In my case there remains a handle
"\Device\LanmanRedirector\;T:0000000000010a5d\MARKUS-PC\TSVN_test\TSVN_test\
Work\Projects\Test1"

Thanks
Markus Gölzner

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org

--
Received on Wed Oct 12 10:59:45 2005

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.