...

Text file src/cmd/go/testdata/vcstest/hg/hgrepo1.txt

Documentation: cmd/go/testdata/vcstest/hg

     1handle hg
     2
     3hg init
     4
     5env date=2018-04-17T15:43:22-04:00
     6unquote ''
     7cp stdout README
     8hg add README
     9hg commit --user=rsc --date=$date -m 'empty README'
    10hg branch tagbranch
    11hg tag --user=rsc --date=$date v1.2.3
    12hg update default
    13
    14env date=2018-04-17T15:45:48-04:00
    15hg branch v2
    16echo 'v2'
    17cp stdout v2
    18hg add v2
    19hg commit --user=rsc --date=$date -m 'v2'
    20hg update tagbranch
    21hg tag --user=rsc --date=$date -r v2 v2.3
    22hg tag --user=rsc --date=$date -r v2 v2.0.1
    23hg update v2
    24hg branch v2.3.4
    25
    26env date=2018-04-17T16:00:19-04:00
    27echo 'intermediate'
    28cp stdout foo.txt
    29hg add foo.txt
    30hg commit --user=rsc --date=$date -m 'intermediate'
    31
    32env date=2018-04-17T16:00:32-04:00
    33echo 'another'
    34cp stdout another.txt
    35hg add another.txt
    36hg commit --user=rsc --date=$date -m 'another'
    37hg update tagbranch
    38hg tag --user=rsc --date=$date -r v2.3.4 v2.0.2
    39
    40env date=2018-04-17T16:16:52-04:00
    41hg update default
    42hg branch v3
    43mkdir v3/sub/dir
    44echo 'v3/sub/dir/file'
    45cp stdout v3/sub/dir/file.txt
    46hg add v3
    47hg commit --user=rsc --date=$date -m 'add v3/sub/dir/file.txt'
    48
    49env date=2018-04-17T22:23:00-04:00
    50hg update default
    51hg tag --user=rsc --date=$date -r v1.2.3 v1.2.4-annotated
    52
    53env date=2018-06-27T12:15:24-04:00
    54hg update v2
    55unquote ''
    56cp stdout dummy
    57hg add dummy
    58hg commit --user=rsc --date=$date -m 'dummy'
    59
    60env date=2018-06-27T12:16:10-04:00
    61hg update v2.3.4
    62hg branch v2.3.4
    63unquote ''
    64cp stdout dummy
    65hg add dummy
    66hg commit --user=rsc --date=$date -m 'dummy'
    67
    68hg book v2 -r v2.0.2 --force
    69hg book v2.3.4 -r v2.0.1 --force
    70
    71hg log -G --debug
    72
    73hg tags
    74cmp stdout .hg-tags
    75
    76hg branches
    77cmp stdout .hg-branches
    78
    79hg bookmarks
    80cmp stdout .hg-bookmarks
    81
    82-- .hg-tags --
    83tip                               11:745aacc8b24d
    84v2.0.2                             6:b1ed98abc268
    85v2.3                               2:a546811101e1
    86v2.0.1                             2:a546811101e1
    87v1.2.4-annotated                   0:c0186fb00e50
    88v1.2.3                             0:c0186fb00e50
    89-- .hg-branches --
    90v2.3.4                        11:745aacc8b24d
    91v2                            10:2b5ca8689628
    92default                        9:a9a2a32d1392
    93v3                             8:442174d28f65
    94tagbranch                      7:1a3473c317b4
    95-- .hg-bookmarks --
    96   v2                        6:b1ed98abc268
    97   v2.3.4                    2:a546811101e1

View as plain text