tests/test-log
changeset 10061 9e2ab10728a2
parent 10060 f780b1098efc
child 10776 08870cf7d388
equal deleted inserted replaced
10060:f780b1098efc 10061:9e2ab10728a2
    30 hg log -vf a
    30 hg log -vf a
    31 echo % many renames
    31 echo % many renames
    32 hg log -vf e
    32 hg log -vf e
    33 
    33 
    34 echo '% log copies with --copies'
    34 echo '% log copies with --copies'
    35 hg log -vC --template '{rev} {file_copies%filecopy}\n'
    35 hg log -vC --template '{rev} {file_copies}\n'
    36 echo '% log copies switch without --copies'
    36 echo '% log copies switch without --copies, with old filecopy template'
    37 hg log -v --template '{rev} {file_copies_switch%filecopy}\n'
    37 hg log -v --template '{rev} {file_copies_switch%filecopy}\n'
    38 echo '% log copies switch with --copies'
    38 echo '% log copies switch with --copies'
    39 hg log -vC --template '{rev} {file_copies_switch%filecopy}\n'
    39 hg log -vC --template '{rev} {file_copies_switch}\n'
    40 
    40 
    41 echo % log copies, non-linear manifest
    41 echo % log copies, non-linear manifest
    42 hg up -C 3
    42 hg up -C 3
    43 hg mv dir/b e
    43 hg mv dir/b e
    44 echo foo > foo
    44 echo foo > foo
    45 hg ci -Ame2 -d '6 0'
    45 hg ci -Ame2 -d '6 0'
    46 hg log -v --template '{rev} {file_copies%filecopy}\n' -r 5
    46 hg log -v --template '{rev} {file_copies}\n' -r 5
    47 
    47 
    48 echo % log copies, execute bit set
    48 echo % log copies, execute bit set
    49 chmod +x e
    49 chmod +x e
    50 hg ci -me3 -d '7 0'
    50 hg ci -me3 -d '7 0'
    51 hg log -v --template '{rev} {file_copies%filecopy}\n' -r 6
    51 hg log -v --template '{rev} {file_copies}\n' -r 6
    52 
    52 
    53 echo '% log -p d'
    53 echo '% log -p d'
    54 hg log -pv d
    54 hg log -pv d
    55 
    55 
    56 # log --follow tests
    56 # log --follow tests