fix toml syntax issue
use commits sha1 when dealing with git branch, other git improvements
initial hg implementation
no newline