tests/test-identify.t
changeset 33091 73dfc72704b6
parent 33089 9e0d222f5687
child 37075 46859b437697
equal deleted inserted replaced
33090:04b3743c1d7c 33091:73dfc72704b6
    53     "node": "ffffffffffffffffffffffffffffffffffffffff",
    53     "node": "ffffffffffffffffffffffffffffffffffffffff",
    54     "parents": [{"node": "cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b", "rev": 0}],
    54     "parents": [{"node": "cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b", "rev": 0}],
    55     "tags": ["tip"]
    55     "tags": ["tip"]
    56    }
    56    }
    57   ]
    57   ]
       
    58 
       
    59 test template keywords and functions which require changectx:
       
    60 
       
    61   $ hg id -T '{rev} {node|shortest}\n'
       
    62   2147483647 ffff
       
    63   $ hg id -T '{parents % "{rev} {node|shortest} {desc}\n"}'
       
    64   0 cb9a a
    58 
    65 
    59 with modifications
    66 with modifications
    60 
    67 
    61   $ echo b > a
    68   $ echo b > a
    62   $ hg id -n -t -b -i
    69   $ hg id -n -t -b -i