Reputation: 4891
I tried hg commit --amend
it says:
abort: cannot amend public changesets
I don't want to rollback as it's pushed and partly reviewed already
Upvotes: 1
Views: 759
Reputation: 5090
There is no way other than rewriting the history, with the risk that other people might already haved pulled your changes.
Actually hg rollback
is for undoing a change that has already been committed but not pushed yet.
While hg backout
is for performing an inverse operation (but leaving the one you pushed) to come back to the previous state; which is not really what you would like.
I suggest to leave it as is. If you have access to the server, it would be possible to change the repository history but this is not advised.
Upvotes: 2