Issue #664 - Implement the compareTo() method in MkRepoCommit

Forgot to remove the puzzle on the original pull request.