tests/test-keyword
changeset 209 430837dbe7f4
parent 208 5afdcec8a01f
child 210 304f9ac35869
equal deleted inserted replaced
208:5afdcec8a01f 209:430837dbe7f4
     7 * =
     7 * =
     8 b = ignore
     8 b = ignore
     9 EOF
     9 EOF
    10 
    10 
    11 echo % help
    11 echo % help
       
    12 # sed for backwards compatibility
    12 hg help keyword \
    13 hg help keyword \
    13 | sed -e '/^list of commands/d' -e '/hg -v help keyword/d' -e '/^$/d'
    14 | sed -e '/^list of commands/d' -e '/hg -v help keyword/d' -e '/^$/d'
    14 
    15 
    15 echo % hg kwdemo
    16 echo % hg kwdemo
    16 hg --quiet kwdemo --default \
    17 hg --quiet kwdemo --default \
    90 firstline
    91 firstline
    91 secondline
    92 secondline
    92 EOF
    93 EOF
    93 
    94 
    94 echo % interrupted commit
    95 echo % interrupted commit
    95 HGEDITOR=false hg commit
    96 # redirection and sed for backwards compatibility
       
    97 HGEDITOR=false hg commit 2>&1 | sed -e '/edit failed:/d'
    96 echo % status
    98 echo % status
    97 hg status
    99 hg status
    98 
   100 
    99 echo % commit
   101 echo % commit
   100 hg --debug commit -l log -d '2 0' -u 'User Name <user@example.com>'
   102 hg --debug commit -l log -d '2 0' -u 'User Name <user@example.com>'
   113 cat <<EOF >> .hg/hgrc
   115 cat <<EOF >> .hg/hgrc
   114 [paths]
   116 [paths]
   115 default = ../Test
   117 default = ../Test
   116 EOF
   118 EOF
   117 echo % incoming
   119 echo % incoming
   118 # remove path to temp dir
   120 # remove path to temp dir for backwards compatibility
   119 hg incoming | sed -e '/^comparing with/d'
   121 hg incoming | sed -e '/^comparing with/d'
   120 
   122 
   121 echo % switch off expansion
   123 echo % switch off expansion
   122 cd ../Test
   124 cd ../Test
   123 echo % kwshrink
   125 echo % kwshrink