tests/test-help.t
changeset 21289 c3784e3c3e8d
parent 21288 eb6eaef7ae44
child 21762 0c6cdbb697d9
equal deleted inserted replaced
21288:eb6eaef7ae44 21289:c3784e3c3e8d
   594   hg status [OPTION]... [FILE]...
   594   hg status [OPTION]... [FILE]...
   595   
   595   
   596   show changed files in the working directory
   596   show changed files in the working directory
   597 
   597 
   598   $ hg help foo
   598   $ hg help foo
   599   hg: unknown command 'foo'
   599   abort: no such help topic: foo
   600   Mercurial Distributed SCM
   600   (try "hg help --keyword foo")
   601   
       
   602   basic commands:
       
   603   
       
   604    add           add the specified files on the next commit
       
   605    annotate      show changeset information by line for each file
       
   606    clone         make a copy of an existing repository
       
   607    commit        commit the specified files or all outstanding changes
       
   608    diff          diff repository (or selected files)
       
   609    export        dump the header and diffs for one or more changesets
       
   610    forget        forget the specified files on the next commit
       
   611    init          create a new repository in the given directory
       
   612    log           show revision history of entire repository or files
       
   613    merge         merge working directory with another revision
       
   614    pull          pull changes from the specified source
       
   615    push          push changes to the specified destination
       
   616    remove        remove the specified files on the next commit
       
   617    serve         start stand-alone webserver
       
   618    status        show changed files in the working directory
       
   619    summary       summarize working directory state
       
   620    update        update working directory (or switch revisions)
       
   621   
       
   622   use "hg help" for the full list of commands or "hg -v" for details
       
   623   [255]
   601   [255]
   624 
   602 
   625   $ hg skjdfks
   603   $ hg skjdfks
   626   hg: unknown command 'skjdfks'
   604   hg: unknown command 'skjdfks'
   627   Mercurial Distributed SCM
   605   Mercurial Distributed SCM
   986   
   964   
   987   Extension Commands:
   965   Extension Commands:
   988   
   966   
   989    qclone clone main and patch repository at same time
   967    qclone clone main and patch repository at same time
   990 
   968 
       
   969 Test unfound topic
       
   970 
       
   971   $ hg help nonexistingtopicthatwillneverexisteverever
       
   972   abort: no such help topic: nonexistingtopicthatwillneverexisteverever
       
   973   (try "hg help --keyword nonexistingtopicthatwillneverexisteverever")
       
   974   [255]
       
   975 
   991 Test unfound keyword
   976 Test unfound keyword
   992 
   977 
   993   $ hg help --keyword nonexistingwordthatwillneverexisteverever
   978   $ hg help --keyword nonexistingwordthatwillneverexisteverever
   994   abort: no matches
   979   abort: no matches
   995   (try "hg help" for a list of topics)
   980   (try "hg help" for a list of topics)