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

svn mv fails after a while

From: Larry Martell <larry.martell_at_gmail.com>
Date: 2007-04-04 23:01:35 CEST

This is a problem that I've encountered many times, and I'm wondering
what causes it.

I'm moving files around in my working copy:

$ svn mv "IOP Tests.xml" newDir
D IOP Tests.xml
A newDir/IOP Tests.xml
$ svn mv "IOP UTests.xml" newDir
D IOP UTests.xml
A newDir/IOP UTests.xml
$

Everything is fine for a while - sometimes I can mv 100's of files, other time's
it happens after 3 or 4 mv's, but eventually I will get:

svn: Can't move 'newDir/.svn/tmp/entries' to 'newDir/.svn/entries':
Permission denied
svn: Working copy 'newDir' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

svn cleanup doesn't work - it generates the same error as above.

The permissions and ownership of everything looks fine.

What I have to do to recover from this is to manually execute the command:

mv newDir/.svn/tmp/entries newDir/.svn/entries

and then do a svn cleanup

And then all is well and I can continue on (until the next time it happens).

I have only seen this occur after doing a bunch of svn mv's.

Anyone know why this happens and what I can do to prevent it?

TIA!
-larry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 4 23:02:23 2007

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

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