My previous attempts to have rhg end with correct exit code was more of bug
hunting. I found cases which were failing and fixed them. But as one might
expect, more tests started failing.
Let's add exit code HgError::Abort() and make it users explicitly tell what
exit code they want.
Let’s define some named const items instead of using integer literals in this and other calls to HgError::abort. Maybe in errors.rs?