summaryrefslogtreecommitdiffstats
path: root/src/cmd/go/testdata/vcstest/bzr/hello.txt
blob: 59315852f736521fde53fa61203bbd3b9c4721d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
handle bzr

env BZR_EMAIL='Russ Cox <rsc@google.com>'
env EMAIL='Russ Cox <rsc@google.com>'

bzr init-repo .

bzr init b
cd b
cp ../hello.go .
bzr add hello.go
bzr commit --commit-time='2017-09-21 21:20:12 -0400' -m 'hello world'
bzr push ..
cd ..
rm b

bzr log
cmp stdout .bzr-log

-- .bzr-log --
------------------------------------------------------------
revno: 1
committer: Russ Cox <rsc@google.com>
branch nick: b
timestamp: Thu 2017-09-21 21:20:12 -0400
message:
  hello world
-- hello.go --
package main

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