When a file is scheduled for commit according to svn records but is not present within the root directory, svn throws “is scheduled for addition, but is missing” error. There can be many causes for this error most common one is renaming the file from finder instead of refactoring and deleting the file from the finder.
The error can be resolved in two ways
- Put back the image from Trash and commit it you can delete it later using
SVN delete <FileName>
- The file can be reverted
svn revert <Filename>You can get the full file path from the error itself if you are using terminal