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

[Subclipse-users] Can't move 'folder\.svn\file.ext.tmp' to 'folder\file.ext': Access is denied.

From: Cain, Tom <tcain_at_solekai.com>
Date: 2007-10-16 00:59:38 CEST

Hello,
We've been experiencing a sporatic bug (the best kind of bug) when using the svnClientAdapter. We are actually running a command line RCP application as part of a CruiseControl build system.

Part of this application updates a WC to an old revision, does some work, then updates it back to the head revision. On these updates, we sporadically get the following error:

Caused by: org.tigris.subversion.svnclientadapter.SVNClientException: Problem running log
svn: In directory 'C: \wc\source\xyz'
Access is denied.
svn: Can't move 'C:\wc\source\xyz\.svn\tmp\sample.xml.tmp' to 'C:\wc\source\xyz\sample.xml': Access is denied.

Our RCP application is not really all that complex, and we are performing all operations synchronously (i.e. not kicking off separate threads that are fighting for resources).

I was actually able to reproduce this error a couple of times in the Eclipse UI by creating a simple toolbar action that did an SVN update to an old revision, then immediately updated to the head revision.

My guess is that some part of either Eclipse or Subclipse is holding on to a handle to the sample.xml.tmp file, thus preventing the move.

First, what is this move all about?

Second, any ideas what may be holding on to the temp file, or why it can't be moved?

Thanks!
Tom
Received on Tue Oct 16 00:58:42 2007

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

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