1handle hg 2hg init 3 4hg add hello.go 5hg commit --user 'Russ Cox <rsc@golang.org>' --date '2017-10-10T19:39:36-04:00' --message 'hello' 6 7hg log -r ':' --template '{node|short} {desc|strip|firstline}\n' 8cmp stdout .hg-log 9 10-- .hg-log -- 11a8c8e7a40da9 hello 12-- hello.go -- 13package main // import "vcs-test.golang.org/go/custom-hg-hello" 14 15func main() { 16 println("hello") 17}