welcome to my blargh

now with 88.333% more desu. repeating of course.

« Back to blog

Oh uh, you fucked up your SVN repo with a bad commit. Fix it.

So you deleted a bunch of files, or moved things around and checked in a bad revision. You need to do a "reverse merge".

1) Revert to the last known good revision.
2) Do a svn merge -r HEAD:revision#
3) Commit.

In my case, I had deleted my local copy of trunk thinking I could get a copy of the last known good revision and commit that. Won't work. I had to update, reverse merge, then commit.

The beauty of source control is that as long as you have what you need checked in, you can always find a way to fix your boo boos.

Loading mentions Retweet

 
To leave a comment on this posterous, please login by clicking one of the following.
Posterous-login     Connect     twitter