tests/test-keyword
branch0.9.2compat
changeset 343 f5927e5574e6
parent 339 98336da24c5e
child 359 4ac7e51443fe
equal deleted inserted replaced
339:98336da24c5e 343:f5927e5574e6
     1 #!/bin/sh
     1 #!/bin/sh
     2 
     2 
     3 cat <<EOF >> $HGRCPATH
     3 cat <<EOF >> $HGRCPATH
     4 [extensions]
     4 [extensions]
     5 hgext.keyword =
     5 hgext.keyword =
       
     6 hgext.mq =
     6 [keyword]
     7 [keyword]
     7 * =
     8 * =
     8 b = ignore
     9 b = ignore
     9 [hooks]
    10 [hooks]
    10 commit=
    11 commit=
    87 hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>'
    88 hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>'
    88 echo % force expansion
    89 echo % force expansion
    89 hg -v kwexpand
    90 hg -v kwexpand
    90 echo % compare changenodes in a c
    91 echo % compare changenodes in a c
    91 cat a c
    92 cat a c
    92 echo % rollback and remove c
    93 
    93 hg rollback
    94 echo % qimport
    94 rm c
    95 hg qimport -r tip -n mqtest.diff
       
    96 echo % keywords should not be expanded in patch
       
    97 cat .hg/patches/mqtest.diff
       
    98 echo % qpop
       
    99 hg qpop
       
   100 echo % qpush
       
   101 hg qpush
       
   102 echo % cat
       
   103 cat c
       
   104 echo % qpop and move on
       
   105 hg qpop
    95 
   106 
    96 echo % copy
   107 echo % copy
    97 hg cp a c
   108 hg cp a c
    98 
   109 
    99 echo % kwfiles added
   110 echo % kwfiles added