How can I examine a changeset in mercurial without looking up its parent? In mercurial, what\'s the equivalent of
git show HEAD^
Git-show
If you just want to see the contents and differential of a commit, use this:
hg diff -c
To see the commit you've checked out (HEAD in git), do this:
hg diff -c -1
If you want to see the commit before it (HEAD^ in git), do this:
hg diff -c -2
Simple.