tests/test-command-template.t
branchstable
changeset 16678 48b1674ac1e7
parent 15839 43317af36d28
child 16917 bebe376b938f
equal deleted inserted replaced
16652:2fdd1902ed2d 16678:48b1674ac1e7
    42 
    42 
    43   $ echo third > third
    43   $ echo third > third
    44   $ hg add third
    44   $ hg add third
    45   $ hg mv second fourth
    45   $ hg mv second fourth
    46   $ hg commit -m third -d "2020-01-01 10:01"
    46   $ hg commit -m third -d "2020-01-01 10:01"
       
    47 
       
    48 Quoting for ui.logtemplate
       
    49 
       
    50   $ hg tip --config "ui.logtemplate={rev}\n"
       
    51   8
       
    52   $ hg tip --config "ui.logtemplate='{rev}\n'"
       
    53   8
       
    54   $ hg tip --config 'ui.logtemplate="{rev}\n"'
       
    55   8
    47 
    56 
    48 Make sure user/global hgrc does not affect tests
    57 Make sure user/global hgrc does not affect tests
    49 
    58 
    50   $ echo '[ui]' > .hg/hgrc
    59   $ echo '[ui]' > .hg/hgrc
    51   $ echo 'logtemplate =' >> .hg/hgrc
    60   $ echo 'logtemplate =' >> .hg/hgrc