how to revert/delete/undo last two commit to svn mainline?
<p>I have committed my changes accidentally on mainline. Now i want to revert the last two changes committed to the svn server by me.
It seems "revert" command will undo changes in only my working copy. As of now i don't have any changes in my working copy and i haven't created a branch for this project. I want to revert the commit in the mainline. </p>

<p>I have used:
svn commit -m "message i used"</p>

<p>should I use merge command? But I thought this will create more issue. What I wanted exactly is to delete the commit in the svn mainline.</p>

<p>Please help me with the simple and correct command so that i will not mess up anything else. </p>