I am working on a project which use svn. I checkout the latest version of it in a directory (using svn checkout http://url /path/to/dest). I've done some modification, so I svn add the modified files, and then svn commit the changes.
Unfortunately, I did the change on the wrong branch. Right now what I'm trying to do is to svn update to a specific commit in another branch, using svn update -r 1234, and I get the following error message:
svn: E160005: Target path '/dev/branches/project' does not exist
I switched to the correct branch with svn switch http://url, and I still get the same error message. How can I properly revert to that commit ?