tests/test-command-template.t
changeset 30008 e83f89d3b1f7
parent 29848 b1f69dbdd76b
child 30083 bd1f043d1ea3
equal deleted inserted replaced
30007:aca0954d3739 30008:e83f89d3b1f7
  3499 
  3499 
  3500   $ hg log -R ../a -T '{join(parents, ",\n")}\n' -r6 --debug
  3500   $ hg log -R ../a -T '{join(parents, ",\n")}\n' -r6 --debug
  3501   5:13207e5a10d9fd28ec424934298e176197f2c67f,
  3501   5:13207e5a10d9fd28ec424934298e176197f2c67f,
  3502   4:bbe44766e73d5f11ed2177f1838de10c53ef3e74
  3502   4:bbe44766e73d5f11ed2177f1838de10c53ef3e74
  3503 
  3503 
       
  3504 Test files function
       
  3505 
       
  3506   $ hg log -T "{rev}\n{join(files('*'), '\n')}\n"
       
  3507   2
       
  3508   a
       
  3509   aa
       
  3510   b
       
  3511   1
       
  3512   a
       
  3513   0
       
  3514   a
       
  3515 
       
  3516   $ hg log -T "{rev}\n{join(files('aa'), '\n')}\n"
       
  3517   2
       
  3518   aa
       
  3519   1
       
  3520   
       
  3521   0
       
  3522   
       
  3523 
  3504 Test active bookmark templating
  3524 Test active bookmark templating
  3505 
  3525 
  3506   $ hg book foo
  3526   $ hg book foo
  3507   $ hg book bar
  3527   $ hg book bar
  3508   $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n"
  3528   $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n"