tests/test-keyword
changeset 202 e2a2f9ca8271
parent 189 247159261ba5
child 208 5afdcec8a01f
equal deleted inserted replaced
201:e826c3cdc52d 202:e2a2f9ca8271
     7 * =
     7 * =
     8 b = ignore
     8 b = ignore
     9 EOF
     9 EOF
    10 
    10 
    11 echo % help
    11 echo % help
    12 hg help keyword
    12 hg help keyword \
       
    13 | sed -e '/^list of commands:/d' -e '/hg -v help keyword/d' -e '/^$/d'
    13 
    14 
    14 echo % hg kwdemo
    15 echo % hg kwdemo
    15 hg --quiet kwdemo --default \
    16 hg --quiet kwdemo --default \
    16 | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \
    17 | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \
    17  -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \
    18  -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \
   113 [paths]
   114 [paths]
   114 default = ../Test
   115 default = ../Test
   115 EOF
   116 EOF
   116 echo % incoming
   117 echo % incoming
   117 # remove path to temp dir
   118 # remove path to temp dir
   118 hg incoming | sed -e 's/^\(comparing with \).*\(test-keyword.*\)/\1\2/'
   119 hg incoming | sed -e '/^comparing with/d'
   119 
   120 
   120 echo % switch off expansion
   121 echo % switch off expansion
   121 cd ../Test
   122 cd ../Test
   122 echo % kwshrink
   123 echo % kwshrink
   123 hg --debug kwshrink
   124 hg --debug kwshrink