...

Text file src/cmd/go/testdata/vcstest/bzr/hello.txt

Documentation: cmd/go/testdata/vcstest/bzr

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

View as plain text