I've just been trialling using the 'Agent side checkout' option for my team city builds, and have ran into an issue related to this youTRACK bug.
I've made sure to update my server to 7.0.2 in an attempt to fix it.
The initial checkout is fine, all works well and the build works great. (using svn 1.7 btw)
Subsequent builds are also fine, the update works correctly and all data is obtained.
In a situation where I need to clear the checkout, and re-checkout, I get this failure message.
[10:28:30]Updating sources: agent side checkout (7s)
[10:28:30][Updating sources] Will perform clean checkout. Reason: The project sources on the agent are newer than requested
[10:28:30][Updating sources] Cleaning C:\TeamCity\buildAgent\work\72cc5abbe35a5c66
[10:28:37][Updating sources] Failed to delete file: C:\TeamCity\buildAgent\work\72cc5abbe35a5c66\.svn\wc.db
[10:28:37][Updating sources] Failed to perform checkout on agent: Failed to clean build checkout directory: C:\TeamCity\buildAgent\work\72cc5abbe35a5c66
Looking at that wc.db file, it's locked by tsvncache, is there a way to resolve this?