Cleaned up a bunch of hg stuff.