SVN commit failed error
After running through a lot of merges last night (I was incrementally going through several changesets to see where I'd introduced an interesting regression) and updating to the HEAD revision and fixing the bug, I got the following error message while trying to commit:
svn: Commit failed (details follow): svn: Your file or directory 'paypal.py' is probably out-of-date svn: The version resource does not correspond to the resource within the transaction. Either the requested version resource is out of date (needs to be updated), or the requested version resource is newer than the transaction root (restart the commit).
A svn up
didn't fix the issue and neither did running svn clean
.
The file in question is in a folder called /lib so in the end, I fixed it by deleting that folder (rm -rf lib
) and then running svn up
to restore the folder from the HEAD revision.
The only other advice I found about this on the net suggests that you delete the all-wcprops file in your .svn folder but I personally think that that's a Bad Idea (tm) as you don't want to go messing inside your .svn folders and corrupt your working copy.
Comments
by Tek on 2008-06-25 09:41:16
by Jason The Saj on 2008-06-25 13:04:53
by erikbianchi on 2008-06-26 10:22:47
by Brajeshwar on 2008-06-25 09:58:22
by chaosgame on 2008-08-09 20:08:27
by karampa maharjan on 2010-08-05 04:12:53
by Steffen on 2011-10-01 08:53:41