tests/test-command-template.t
changeset 31927 2abc556dbe92
parent 31926 932241b8c644
child 31928 277b3e2d711b
equal deleted inserted replaced
31926:932241b8c644 31927:2abc556dbe92
  2682 
  2682 
  2683   $ hg tip --template '{author|email|date}\n'
  2683   $ hg tip --template '{author|email|date}\n'
  2684   hg: parse error: date expects a date information
  2684   hg: parse error: date expects a date information
  2685   [255]
  2685   [255]
  2686 
  2686 
       
  2687   $ hg tip -T '{author|email|shortdate}\n'
       
  2688   abort: template filter 'shortdate' is not compatible with keyword 'author'
       
  2689   [255]
       
  2690 
       
  2691   $ hg tip -T '{get(extras, "branch")|shortdate}\n'
       
  2692   abort: incompatible use of template filter 'shortdate'
       
  2693   [255]
       
  2694 
  2687 Error in nested template:
  2695 Error in nested template:
  2688 
  2696 
  2689   $ hg log -T '{"date'
  2697   $ hg log -T '{"date'
  2690   hg: parse error at 2: unterminated string
  2698   hg: parse error at 2: unterminated string
  2691   [255]
  2699   [255]