0

Possible Duplicate:
How to edit incorrect commit message in Mercurial?

Can i rename commit in mercurial before pushing on server from local repository?

I accidentally make commit with wrong name..(

Community
  • 1
  • 1
void
  • 1,347
  • 2
  • 13
  • 25
  • How do you mean the wrong name? Do you mean the comment you put in when you did the commit? – icabod Jun 14 '11 at 08:03
  • yes wrong comment. i want fix it – void Jun 14 '11 at 08:03
  • Please read more answers than just the accepted answer in the other question. If you're using Mercurial Queues, you will probably prefer the second answer, instead of using `rollback`. – Joel B Fant Jun 14 '11 at 15:00

1 Answers1

1

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.

Community
  • 1
  • 1
icabod
  • 6,992
  • 25
  • 41