tests/test-keyword
changeset 5894 e181665c1c79
parent 5856 85888efbdfff
child 6051 1038b1458d7a
equal deleted inserted replaced
5893:87e6b4f4871b 5894:e181665c1c79
     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=
    86 hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>'
    87 hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>'
    87 echo % force expansion
    88 echo % force expansion
    88 hg -v kwexpand
    89 hg -v kwexpand
    89 echo % compare changenodes in a c
    90 echo % compare changenodes in a c
    90 cat a c
    91 cat a c
    91 echo % rollback and remove c
    92 
    92 hg rollback
    93 echo % qimport
    93 rm c
    94 hg qimport -r tip -n mqtest.diff
       
    95 echo % keywords should not be expanded in patch
       
    96 cat .hg/patches/mqtest.diff
       
    97 echo % qpop
       
    98 hg qpop
       
    99 echo % qgoto - should imply qpush
       
   100 hg qgoto mqtest.diff
       
   101 echo % cat
       
   102 cat c
       
   103 echo % qpop and move on
       
   104 hg qpop
    94 
   105 
    95 echo % copy
   106 echo % copy
    96 hg cp a c
   107 hg cp a c
    97 
   108 
    98 echo % kwfiles added
   109 echo % kwfiles added