summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/vcstest/hg/hello.txt
blob: 10f114e572974626020185eb5b2c35b4da54071e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
handle hg
hg init

hg add hello.go
hg commit --user 'bwk' --date '2017-09-21T21:14:14-04:00' --message 'hello world'

hg log -r ':' --template '{node|short} {desc|strip|firstline}\n'
cmp stdout .hg-log

-- .hg-log --
e483a7d9f8c9 hello world
-- hello.go --
package main

func main() {
	println("hello, world")
}