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