...

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

Documentation: cmd/go/testdata/vcstest/bzr

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

View as plain text