I made some changes and commited them (to version 2), and found out that they introduced new bugs to my program some minutes later. So I switched to some of the files to an older version to get some of the files back to version 1 on my local platform. Since then I have made a lot of changes I don't want to lose, and I have used commit (version 3) to get my local changes on the server.
The version I have locally is exactly what I want to be on the repository as head revision, even though some of the files are still officially on "version 1". I assume I should be using SVN merge in some way, but I'm not really sure how to do it. Any advice?
edit: When I use diff, it shows changes from the local version to the rep version. I could do update, but then I would have a non-working version locally again. So what I want is some kind of forced commit, that just says "this is the newest version, period".
edit2: When doing "commit", SVN reports that there are no changes. Thanks to Neil Butterworth for the question.
edit3: What I finally did, FYI: I should just have used Tim's suggestion, but I was dumb enough to do an update without really thinking about what I was doing. Of course, everything was then really messed up beyond repair. So what I finally did was to export the project to a new directory. That's obviously not the way you should do it, but I did not want to mess with this stuff any longer. In the end I had to get back to making actual progress on the actual project;-) I know that I can't do stuff like that when I'm working in a bigger team, but I'm not:)