You're using subversion and you accidentally checkin some code before it's ready. For example, I often: a) checkin some code, then b) edit a little, then c) hit up, enter to repeat the previous command which unfortunately was a checkin.
Is it possible to retract such an accidental checkin from the server with subversion?
If what you meant is, how do I cleanly remove the history of an accidental checkin: This is difficult.
svn does not allow you to undo anything since it saves revisions as changesets. However, there are some tools that let you do almost anything on a dump of a repository. You could:
Dump your repo.
Use svndumpfilter from the svn admin tools to get rid of the checkin.
Put it back into the repo.
But this can completely ruin your repo, so never ever try to do this, unless you absolutely know what you are doing and have everything backed up.
Using TortoiseSVN, select Show log and locate the revision that you want to revert to. From the context menu, select Revert to this revision. This performs a reverse merge into your working copy, so you will have to commit your working copy to finish the operation.
See also How do we keep track of our working copy's branch? :-)
You cannot remove the revision - several answers here seem to be totally misunderstanding what you want. But you can change the checkin message to indicate that it it was unintended. Checkins don't cost very much so having the odd extra one is no big deal.
To comment on this as well: This is a series of commands that I did on a repository to revert it from revision 2 back to revision 1. You'd need to checkin at the end as well though.
you cannot retract the revision, the most you can do is revert back to prior revision and do another checkin.