tests/test-command-template.t
changeset 30083 bd1f043d1ea3
parent 30008 e83f89d3b1f7
child 30088 d1f5f158768e
equal deleted inserted replaced
30082:ebc03e64548a 30083:bd1f043d1ea3
  3519   1
  3519   1
  3520   
  3520   
  3521   0
  3521   0
  3522   
  3522   
  3523 
  3523 
       
  3524 Test relpath function
       
  3525 
       
  3526   $ hg log -r0 -T '{files % "{file|relpath}\n"}'
       
  3527   a
       
  3528   $ cd ..
       
  3529   $ hg log -R r -r0 -T '{files % "{file|relpath}\n"}'
       
  3530   r/a (glob)
       
  3531   $ cd r
       
  3532 
  3524 Test active bookmark templating
  3533 Test active bookmark templating
  3525 
  3534 
  3526   $ hg book foo
  3535   $ hg book foo
  3527   $ hg book bar
  3536   $ hg book bar
  3528   $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n"
  3537   $ hg log --template "{rev} {bookmarks % '{bookmark}{ifeq(bookmark, active, \"*\")} '}\n"