tests/test-keyword
branch0.9.2compat
changeset 638 439e096ce144
parent 489 f3514954d3c6
child 644 b3d3788db7ef
equal deleted inserted replaced
630:d0185236a089 638:439e096ce144
     9 b = ignore
     9 b = ignore
    10 [hooks]
    10 [hooks]
    11 commit=
    11 commit=
    12 commit.test=cp a hooktest
    12 commit.test=cp a hooktest
    13 EOF
    13 EOF
    14 
       
    15 echo % help
       
    16 # grep for backwards compatibility
       
    17 hg help keyword \
       
    18 | grep -E -v '^list of commands|hg -v help keyword|^$'
       
    19 
    14 
    20 echo % hg kwdemo
    15 echo % hg kwdemo
    21 hg --quiet kwdemo --default \
    16 hg --quiet kwdemo --default \
    22 | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \
    17 | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \
    23  -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \
    18  -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \