tests/test-command-template
changeset 1939 d59fc0d4558f
parent 1918 7f0899f7828c
child 3186 a6d0cd63068c
equal deleted inserted replaced
1938:36c6e4c3ff43 1939:d59fc0d4558f
     4 cd a
     4 cd a
     5 echo a > a
     5 echo a > a
     6 hg add a
     6 hg add a
     7 echo line 1 > b
     7 echo line 1 > b
     8 echo line 2 >> b
     8 echo line 2 >> b
     9 hg commit -l b -d '1111111111 0' -u 'User Name <user@hostname>'
     9 hg commit -l b -d '1000000 0' -u 'User Name <user@hostname>'
    10 hg add b
    10 hg add b
    11 echo other 1 > c
    11 echo other 1 > c
    12 echo other 2 >> c
    12 echo other 2 >> c
    13 echo >> c
    13 echo >> c
    14 echo other 3 >> c
    14 echo other 3 >> c
    15 hg commit -l c -d '1123456789 0' -u 'A. N. Other <other@place>'
    15 hg commit -l c -d '1100000 0' -u 'A. N. Other <other@place>'
    16 hg add c
    16 hg add c
    17 hg commit -m 'no person' -d '1134567890 0' -u 'other@place'
    17 hg commit -m 'no person' -d '1200000 0' -u 'other@place'
    18 echo c >> c
    18 echo c >> c
    19 hg commit -m 'no user, no domain' -d '1144567890 0' -u 'person'
    19 hg commit -m 'no user, no domain' -d '1300000 0' -u 'person'
    20 
    20 
    21 # make sure user/global hgrc does not affect tests
    21 # make sure user/global hgrc does not affect tests
    22 echo '[ui]' > .hg/hgrc
    22 echo '[ui]' > .hg/hgrc
    23 echo 'logtemplate =' >> .hg/hgrc
    23 echo 'logtemplate =' >> .hg/hgrc
    24 echo 'style =' >> .hg/hgrc
    24 echo 'style =' >> .hg/hgrc