hg revert
just sets your working copy to the revision that you specify so if you didn't do a commit after the revert then your repository has not changed. To fix it you can just do hg update -C
and then delete all the .orig
files.
After that you can do the correct revert statement to remove the last two revisions.
If you did do the commit then the command that you wanted to do (hg revert -r 844 --all
) would still get you to the point that you want by undoing the revert commit as well as the two commits that you originally intended to undo.