I am using mercurial and have pushed some changes that I have to revert back. I didn't find any way to directly rollback that changes. I can remove my changes and commit it back but that would not be a right way to do that. Can anyone please suggest how I can do that?
You need to login to the server and use the hg strip
command. If you cannot login to the server, you are out of luck; you can hg backout
then push again, but this will leave the bad commits on the server along with the commit that undoes them.
For more details: Mercurial: Remove changeset from remote branch