Recommended process for code reviews with mercurialIt probably wasn't clear from the answer, but it doesn't actually make it into the repository unless all of the changes have been added to the code review and the review is complete. If the hook exits with a non-zero exit code, Mercurial rolls back all of the changes that were being pushed. Thus, that particular hook provides a very convenient place to not only get the diffs for the review, but also to enforce the review before the changes are allowed into the repository.