これは私に何度も起こります。何とか版を作って…
$ nano module1.c
...いくつかのテストを実行します...
$ make test
OK
...そして、テストに合格したので、コミットします。
$ hg commit -m "Bug #123 corrected"
次に、いくつかのテストを編集して、別の機能を開始します。
$ nano test/module2.c
テストを実行したいので、Control- P(または↑</kbd>) to execute make test
. Unfortunately, however, I commit the last message again:
$ hg commit -m "Bug #123 corrected"
で行った編集を失うことなく、この最後のコミットを Mercurial リポジトリから削除する方法はありますtest/module2.c
か?