summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/vcstest/fossil/hello.txt
blob: 48fb774bcf22e3ec7d7a1292a7680f7a38795a0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
handle fossil

env USER=rsc
fossil init --date-override 2017-09-22T01:15:36Z hello.fossil
fossil open --keep hello.fossil

fossil add hello.go
fossil commit --no-prompt --nosign --date-override 2017-09-22T01:19:07Z --comment 'hello world'

fossil timeline --oneline
cmp stdout .fossil-timeline

-- .fossil-timeline --
d4c7dcdc29 hello world
58da0d15e9 initial empty check-in
+++ no more data (2) +++
-- hello.go --
package main

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