tests/test-githelp.t
changeset 35718 a10a0d5561a9
parent 35715 8dbd000f7de9
child 35719 a4cd8f527a7f
equal deleted inserted replaced
35717:5edfead8cc95 35718:a10a0d5561a9
    32   abort: missing git command - usage: hg githelp -- <git command>
    32   abort: missing git command - usage: hg githelp -- <git command>
    33   [255]
    33   [255]
    34 
    34 
    35 githelp on a command with options should succeed
    35 githelp on a command with options should succeed
    36   $ hg githelp -- commit -pm "abc"
    36   $ hg githelp -- commit -pm "abc"
    37   hg record -m 'abc'
    37   hg commit --interactive -m 'abc'
    38 
    38 
    39 githelp on a command with standalone unrecognized option should succeed with warning
    39 githelp on a command with standalone unrecognized option should succeed with warning
    40   $ hg githelp -- commit -p -v
    40   $ hg githelp -- commit -p -v
    41   ignoring unknown option -v
    41   ignoring unknown option -v
    42   hg record
    42   hg commit --interactive
    43 
    43 
    44 githelp on a command with unrecognized option packed with other options should fail with error
    44 githelp on a command with unrecognized option packed with other options should fail with error
    45   $ hg githelp -- commit -pv
    45   $ hg githelp -- commit -pv
    46   abort: unknown option v packed with other options
    46   abort: unknown option v packed with other options
    47   Please try passing the option as it's own flag: -v
    47   Please try passing the option as it's own flag: -v