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

svn cleanup error "svn: E720032: Can't remove '...\.svn\tmp\svn-...'

From: Marc Strapetz <marc.strapetz_at_syntevo.com>
Date: Fri, 27 Nov 2015 12:16:01 +0100

One of our users is reporting frequent clean up errors:

svn: E720032: Can't remove
'C:\Project\Path\To\WorkingCopy\.svn\tmp\svn-30D0973'
svn: E720032: Can't remove file
'C:\Project\Path\To\WorkingCopy\.svn\tmp\svn-30D0973': Det går inte att
komma åt filen eftersom den används av en annan process.

When investigating file system locks, smartsvn.exe (which is using
Subversion binaries) is the only process which is holding locks on this
file. Locks are hold until SmartSVN is closed.

Which parts of the code might hold locks on such temporary files and
might this be caused by wrong API usage?

As a side note, he is only able to perform a clean up with NetBeans
(which is using SVNKit), once SmartSVN has been closed. This means, that
he is also using SVNKit on the same working copy (but not necessarily
concurrently).

-Marc
Received on 2015-11-27 12:16:01 CET

This is an archived mail posted to the Subversion Dev mailing list.