tests/test-help.t
changeset 26415 46af0adb5c37
parent 26414 c44b507e7c78
child 26421 4b0fc75f9403
equal deleted inserted replaced
26414:c44b507e7c78 26415:46af0adb5c37
   978       desc          String. The text of the changeset description.
   978       desc          String. The text of the changeset description.
   979       diffstat      String. Statistics of changes with the following format:
   979       diffstat      String. Statistics of changes with the following format:
   980       firstline     Any text. Returns the first line of text.
   980       firstline     Any text. Returns the first line of text.
   981       nonempty      Any text. Returns '(none)' if the string is empty.
   981       nonempty      Any text. Returns '(none)' if the string is empty.
   982 
   982 
       
   983 Test deprecated items
       
   984 
       
   985   $ hg help -v templating | grep currentbookmark
       
   986       currentbookmark
       
   987   $ hg help templating | (grep currentbookmark || true)
       
   988 
   983 Test help hooks
   989 Test help hooks
   984 
   990 
   985   $ cat > helphook1.py <<EOF
   991   $ cat > helphook1.py <<EOF
   986   > from mercurial import help
   992   > from mercurial import help
   987   > 
   993   >