svn: Write-lock stolen

Feb 11, 2010 at 10:19 AM

First, let me say thanks dnndev for the cool tool.

At first i had some trouble to get the tool working. Maybe this post can help some people if they have the same problems.

I did always get this error message: svn: Write-lock stolen in »D:\\FRR2_Testplatz\TempExternals\386618911747

This is the whole output:

[1/4]Searching path for external properties...
[2/4]Extracting Folder path and properties...
[3/4]Searching externals last commit revision...
[4/4]Freezing Externals...
Frozen folders:
Folder:            -r 277 file:///S:/FRR_II/Softwareablage/Prototypen/SubversionRepository/FRR2_Testplatz/trunk frr2_Testplatz
Folder:            -r 573 file:///S:/FRR_II/Softwareablage/SubversionRepository/frr2Vision/trunk frr2Vision
Folder:            -r 556 file:///S:/FRR_II/Softwareablage/SubversionRepository/frrLib/trunk frrlib
Folder:            -r 5 file:///S:/Codepool/C%23/Lib/SubversionRepository/trunk/lib lib
Folder:            -r 520 file:///S:/CoreLib/Softwareablage/SubversionRepository/CoreLib/trunk CoreLib
External Freeze Complete.

D:\FRR2_Testplatz>svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow)::
svn: Write-lock stolen in »D:\\FRR2_Testplatz\TempExternals\386618911747«

It seems to be some timing problem. To solve this problem i inserted a Thread.Sleep(2000); statement before the function call Utils.DeleteDirectory(externalsTempRoot); .

 

Feb 11, 2010 at 6:00 PM

adm75 - thanks for the feedback.

Maybe I did not see this problem as my main dev computer is using an SSD (hard drive) and has cache disabled.

Thanks for the tip, I will do some testing and roll it into the next release.

Tony