When I try to commit a specific file (xxx.java) following error pops up:
svn: Entry for 'C:\aaa/bbb/ccc/xxx.java' is marked as 'copied' but is not itself scheduled for addition. Perhaps you're committing a target that is inside an unversioned (or not-yet-versioned) directory?
How to solve this SVN-Error?
I solved it with the following steps:
Then the commit worked.
If you are checked out of a large source tree and want to avoid having to refresh everything, I have found another work-around for this problem. Since the alternative is to blow everything else away anyway, this is at least worth a shot (It worked for me).
Within the .svn folder you'll notice that you have an 'entries' file. If you open one of these guys up in the .svn folder where XXX.java is located, you'll see a bunch of 'copied' flags within the text. I'm not quite sure how yours got there, but mine came from playing around with VisaulSVN.
I have found that removing these copied flags from these entries files will cause the error to go away and allow you to commit again. A couple of notes :
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With