We should probably replace all instances of `commit.revision[0, 6]` with something like `commit.revision_prefix` or something.  Not part of this PR, just random thought.