I use the subversion versions app for mac. I added a new file (via rightclick->add). I want to undo this action. How can I do that without reverting, since I have other local changes that I still want to keep? Can this be done from the versions app itself? I did see this question here but, really would like to know if its doable from within the app. Also, not sure if that answer applies to my case. Thank you!
Asked
Active
Viewed 410 times
2 Answers
0
Try to add to ignore list the file(s) you want to keep in local.

Dave M.
- 82
- 9
-
Thanks Dave. Unfortunately when I try to ignore I get the message ```The item “test.php” can't be ignored because it is under version control. Delete it first, then try again.``` When I try to delete I also get an error. – jco May 03 '17 at 14:52
-
```A subversion error occured: 'test.php' has local modifications -- commit or revert them first``` And the whole point was that I didn't want to commit it (and I didn't want to lose the file). So I tried as suggested - to revert just that one. I originally wasn't sure that would do what I needed, but I had no other option and tried that - and it worked. – jco May 05 '17 at 13:44
-
When I asked the question, I thought my only option would be to revert the entire project. I did not want that. In hindsight it makes sense to have just reverted the one file. – jco May 05 '17 at 13:54
0
As I mentioned to Dave, I was unable to delete or ignore the file. I ended up reverting just that file and it went back to its original status as not yet added.

jco
- 667
- 10
- 23