Possible Duplicate:
How to edit incorrect commit message in Mercurial?
Can i rename commit in mercurial before pushing on s开发者_JAVA百科erver from local repository?
I accidentally make commit with wrong name..(
Sounds to me like a duplicate of this question. Check that link, an answer is given there.
Importantly if you follow the advice on that page, make sure you backup your latest changeset. Performing a rollback will remove the latest changeset completely.
In fact, it may be wise to make a new clone of your working repository as a backup... just in case.
精彩评论