tests/test-help.t
changeset 26364 6e9c2aab9925
parent 26351 8c7d8d5e1e0f
child 26370 44cc9f63a2f1
equal deleted inserted replaced
26363:f29ee23bf361 26364:6e9c2aab9925
   613    update        update working directory (or switch revisions)
   613    update        update working directory (or switch revisions)
   614   
   614   
   615   (use "hg help" for the full list of commands or "hg -v" for details)
   615   (use "hg help" for the full list of commands or "hg -v" for details)
   616   [255]
   616   [255]
   617 
   617 
       
   618 
       
   619 Make sure that we don't run afoul of the help system thinking that
       
   620 this is a section and erroring out weirdly.
       
   621 
       
   622   $ hg .log
       
   623   hg: unknown command '.log'
       
   624   (did you mean one of log?)
       
   625   [255]
       
   626 
       
   627   $ hg log.
       
   628   hg: unknown command 'log.'
       
   629   (did you mean one of log?)
       
   630   [255]
       
   631   $ hg pu.lh
       
   632   hg: unknown command 'pu.lh'
       
   633   (did you mean one of pull, push?)
       
   634   [255]
   618 
   635 
   619   $ cat > helpext.py <<EOF
   636   $ cat > helpext.py <<EOF
   620   > import os
   637   > import os
   621   > from mercurial import cmdutil, commands
   638   > from mercurial import cmdutil, commands
   622   > 
   639   >