My SVN won’t commit:
mac:MiTokeniPhone anemployee$ svn commit .
svn: Commit failed (details follow):
svn: '/Users/anemployee/Desktop/MiTokeniPhone/main_bg.png' is scheduled for addition, but is missing
I used:
svn revert -R .
Would there have been a way to avoid having to revert?
You didn’t do a recursive revert or a revert on the file that is missing. You might consider doing a
EDIT: Since the question was edited and the OP found the recursive revert:
You could just create the file … or don’t add it in the first place. Other than that it’s simply something for SVN that it was told to do (“Add that file to version control and check it in”) which seems impossible (“Which file? I know it was here yesterday … aaaahh!”). Kinda like that.