I've had this problem. I keep hoping I will see somebody else file a bug report -- I haven't felt qualified enough to do it myself.
In particular the problem seems to occur if I add a file (or copy with subversion), then delete it before committing (I haven't got around to retesting it to be sure). Anybody else had a problem like this? I'm using TortoiseSVN and svn 0.37.
I think I only solved it by deleting the directory (file-system delete, not SVN) and checking the directory out again. You can then copy over your changed files to be committed and you're back in business.
From: Jonathan Shore [mailto:email@example.com]
Sent: Sunday, 28 March 2004 22:17
Subject: .svn out of sync with repository
I am getting commit failures as says that a given resource is already in the repository (in SVN 1.0.1 on a windows client against a linux server over svn+ssh). The problem is that the files should never have been queued for addition. Here is what is happening:
$ svn add mpeg1/*.java
svn: warning: 'mpeg1/MPEG1Codec.java' is already under version control
$ svn commit -m 'synchronizing with SVN since CVS changeover'
Transmitting file data ......svn: Commit failed (details follow):
svn: File already exists: filesystem '/home/repository/vibe/db', transaction '1n', path '/trunk/Libraries/java/src/org/ivibe/canvas/codecs/mpeg1/BitInputStream.java'
The workspace side correctly notes that MPEG1Codec.java is already under version control but does not note BitInputStream.java. How do I recover from this sync problem?
Received on Thu Apr 1 07:27:35 2004