...

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

Documentation: cmd/go/testdata/vcstest/svn

     1handle svn
     2
     3mkdir db/transactions
     4mkdir db/txn-protorevs
     5chmod 0755 hooks/pre-revprop-change
     6
     7env ROOT=$PWD
     8cd .checkout
     9[GOOS:windows] svn checkout file:///$ROOT .
    10[!GOOS:windows] svn checkout file://$ROOT .
    11
    12svn add hello.go
    13svn commit --file MSG
    14svn propset svn:author 'rsc' --revprop -r1
    15svn propset svn:date '2017-09-22T01:12:45.861368Z' --revprop -r1
    16
    17svn update
    18svn log --xml
    19
    20[GOOS:windows] replace '\n' '\r\n' .svn-log
    21cmp stdout .svn-log
    22
    23-- .checkout/MSG --
    24hello world
    25
    26-- .checkout/hello.go --
    27package main
    28
    29func main() {
    30	println("hello, world")
    31}
    32-- .checkout/.svn-log --
    33<?xml version="1.0" encoding="UTF-8"?>
    34<log>
    35<logentry
    36   revision="1">
    37<author>rsc</author>
    38<date>2017-09-22T01:12:45.861368Z</date>
    39<msg>hello world
    40
    41</msg>
    42</logentry>
    43</log>
    44-- conf/authz --
    45-- conf/passwd --
    46-- conf/svnserve.conf --
    47-- db/current --
    480
    49-- db/format --
    506
    51layout sharded 1000
    52-- db/fs-type --
    53fsfs
    54-- db/fsfs.conf --
    55-- db/min-unpacked-rev --
    560
    57-- db/revprops/0/0 --
    58K 8
    59svn:date
    60V 27
    612017-09-22T01:11:53.895835Z
    62END
    63-- db/revs/0/0 --
    64PLAIN
    65END
    66ENDREP
    67id: 0.0.r0/17
    68type: dir
    69count: 0
    70text: 0 0 4 4 2d2977d1c96f487abe4a1e202dd03b4e
    71cpath: /
    72
    73
    7417 107
    75-- db/txn-current --
    760
    77-- db/txn-current-lock --
    78-- db/uuid --
    7953cccb44-0fca-40a2-b0c5-acaf9e75039a
    80-- db/write-lock --
    81-- format --
    825
    83-- hooks/pre-revprop-change --
    84#!/bin/sh
    85
    86-- hooks/pre-revprop-change.bat --
    87@exit

View as plain text