Dead Ends

XCode and Subversion: How Do I Revert?

I managed to code myself into a corner writing my Mac application. IKImageBrowserView has some quirks and when I tried to reorganize the structure of my code, I couldn't get it to work at all. The changes were combined with Interface Builder alterations as well, so it was complicated.

I have an alternate approach, but I have to undo the changes I made. Subversion to the rescue. I have a subversion repository set up and so I can revert to a previous version. But how? The subversion functionality in XCode is very limited: it's really only any good for checking in new versions and looking at history. There is no way to see the structure of past versions and no way to revert any more than single files.

The answer was to tag the current version by copying it to the tags subversion folder and then check out the older version. I did all of that with snvx. It's a simple but functional GUI subversion client.

My subversion repository has moved from its old location that I set up with Tiger. I had hoped to be able to access it from my laptop over AFP, but locking does not work. So I moved it to an HTTP server-based repository. There are plenty of places on the web that detail how to set it up with Leopard, and it was simple to do. Next I need to figure out how to do ssh tunneling and I'll have a remote access solution.
|
The Bagelturf site welcomes Donations of any size