Mercurial: how to amend the last commit?

I’m looking for a counter-part of git commit –amend in Mercurial, i.e. a way to modify the commit which my working copy is linked to. I’m only interested in the last commit, not an arbitrary earlier commit. The requirements for this amend-procedure are: if possible, it should not require any extensions. It must not require … Read more