This is the order of events:
- had a file I wanted to add to svn repo for committing.
- typed "svn add filename.py", and it confirmed that it added it.
- before committing, typed "svn ls" to see the tracked files.
- filename.py is not listed there.
- out of confusion, try to remove file, and then readd it again. it won't let me do svn rm, so I do svn --force delete, thinking that would just untrack it from versioning, and not actually delete the file. I'm dumb.
- File is gone. File was never committed because I was just trying to add it then, so it's not like I can revert to a prior version.
Any way to get this back? I'm pretty desperate.
Thanks.
You've, ehm,
svn delete --forceit. You can't recover it unless you have a copy somewhere.By
svn adding the file, you only scheduled it to be added on the next commit. You should'vesvn commited it to the repository.