1 handle bzr
2
3 env BZR_EMAIL='Russ Cox <rsc@google.com>'
4 env EMAIL='Russ Cox <rsc@google.com>'
5
6 bzr init-repo .
7
8 bzr init b
9 cd b
10 cp ../hello.go .
11 bzr add hello.go
12 bzr commit --commit-time='2017-09-21 21:20:12 -0400' -m 'hello world'
13 bzr push ..
14 cd ..
15 rm b
16
17 bzr log
18 cmp stdout .bzr-log
19
20 -- .bzr-log --
21 ------------------------------------------------------------
22 revno: 1
23 committer: Russ Cox <rsc@google.com>
24 branch nick: b
25 timestamp: Thu 2017-09-21 21:20:12 -0400
26 message:
27 hello world
28 -- hello.go --
29 package main
30
31 func main() {
32 println("hello, world")
33 }
34
View as plain text