Extract HG metric checker
Merge pull request #15 from avakhov/4-extract-hg-mixin

Extract HG metric checker