tests/test-annotate.t
changeset 38358 57dc72b56b6c
parent 37502 40c7347f6848
child 38446 5b04a0c30f3f
equal deleted inserted replaced
38357:31ed65f9c5ad 38358:57dc72b56b6c
    73 
    73 
    74 log-like templating
    74 log-like templating
    75 
    75 
    76   $ hg annotate -T'{lines % "{rev} {node|shortest}: {line}"}' a
    76   $ hg annotate -T'{lines % "{rev} {node|shortest}: {line}"}' a
    77   0 8435: a
    77   0 8435: a
       
    78 
       
    79 '{line_number}' field should be populated as necessary
       
    80 
       
    81   $ hg annotate -T'{lines % "{rev}:{line_number}: {line}"}' a
       
    82   0:1: a
    78 
    83 
    79   $ cat <<EOF >>a
    84   $ cat <<EOF >>a
    80   > a
    85   > a
    81   > a
    86   > a
    82   > EOF
    87   > EOF