tests/test-help.t
changeset 13584 02f507ce61f2
parent 13472 6c70ca0b7e07
child 13888 9e5407a67dea
equal deleted inserted replaced
13582:4f5b269f4ce6 13584:02f507ce61f2
   763   
   763   
   764       The reserved name "." indicates the working directory parent. If no
   764       The reserved name "." indicates the working directory parent. If no
   765       working directory is checked out, it is equivalent to null. If an
   765       working directory is checked out, it is equivalent to null. If an
   766       uncommitted merge is in progress, "." is the revision of the first parent.
   766       uncommitted merge is in progress, "." is the revision of the first parent.
   767 
   767 
       
   768 Test templating help
       
   769 
       
   770   $ hg help templating | egrep '(desc|diffstat|firstline|nonempty)  '
       
   771       desc        String. The text of the changeset description.
       
   772       diffstat    String. Statistics of changes with the following format:
       
   773       firstline   Any text. Returns the first line of text.
       
   774       nonempty    Any text. Returns '(none)' if the string is empty.
       
   775 
   768 Test help hooks
   776 Test help hooks
   769 
   777 
   770   $ cat > helphook1.py <<EOF
   778   $ cat > helphook1.py <<EOF
   771   > from mercurial import help
   779   > from mercurial import help
   772   > 
   780   >