CurrentCommitID
CommitLog
use hgo for faster hg file reading
try to use hgo
add directory listing for git and hg (used by file browser)
change string to FileType
handle hg root dir
revision number is hexidecimal
Merge pull request #1 from sourcegraph/master

latest from upstream