1handle hg 2hg init 3 4hg add hello.go 5hg commit --user 'bwk' --date '2017-09-21T21:14:14-04:00' --message 'hello world' 6 7hg log -r ':' --template '{node|short} {desc|strip|firstline}\n' 8cmp stdout .hg-log 9 10-- .hg-log -- 11e483a7d9f8c9 hello world 12-- hello.go -- 13package main 14 15func main() { 16 println("hello, world") 17}