summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/vcstest/hg/hello.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/go/testdata/vcstest/hg/hello.txt')
-rw-r--r--src/cmd/go/testdata/vcstest/hg/hello.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cmd/go/testdata/vcstest/hg/hello.txt b/src/cmd/go/testdata/vcstest/hg/hello.txt
new file mode 100644
index 0000000..10f114e
--- /dev/null
+++ b/src/cmd/go/testdata/vcstest/hg/hello.txt
@@ -0,0 +1,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")
+}