Text file src/cmd/go/testdata/vcstest/hg/custom-hg-hello.txt

     1  handle hg
     2  hg init
     3  
     4  hg add hello.go
     5  hg commit --user 'Russ Cox <rsc@golang.org>' --date '2017-10-10T19:39:36-04:00' --message 'hello'
     6  
     7  hg log -r ':' --template '{node|short} {desc|strip|firstline}\n'
     8  cmp stdout .hg-log
     9  
    10  -- .hg-log --
    11  a8c8e7a40da9 hello
    12  -- hello.go --
    13  package main // import "vcs-test.golang.org/go/custom-hg-hello"
    14  
    15  func main() {
    16  	println("hello")
    17  }
    18  

View as plain text