tests/test-keyword
branch0.9.2compat
changeset 387 ecb2935f9bb8
parent 380 0ed26effe190
child 397 db7cc16560d4
equal deleted inserted replaced
380:0ed26effe190 387:ecb2935f9bb8
    24  -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \
    24  -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \
    25  -e 's! 20[0-9][0-9]/[01][0-9]/[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]! 2000/00/00 00:00:00!'
    25  -e 's! 20[0-9][0-9]/[01][0-9]/[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]! 2000/00/00 00:00:00!'
    26 
    26 
    27 hg --quiet kwdemo "Branch = {branches}"
    27 hg --quiet kwdemo "Branch = {branches}"
    28 
    28 
    29 hg init Test
    29 hg init Test-bndl
    30 cd Test
    30 cd Test-bndl
    31 
    31 
    32 echo % kwshrink should exit silently in empty/invalid repo
    32 echo % kwshrink should exit silently in empty/invalid repo
    33 hg kwshrink
    33 hg kwshrink
    34 
    34 
    35 echo 'expand $Id$' > a
    35 echo 'expand $Id$' > a
    67 
    67 
    68 echo % removing commit hook from config
    68 echo % removing commit hook from config
    69 sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nohook
    69 sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nohook
    70 mv $HGRCPATH.nohook $HGRCPATH
    70 mv $HGRCPATH.nohook $HGRCPATH
    71 rm hooktest
    71 rm hooktest
       
    72 
       
    73 echo % bundle
       
    74 hg --quiet bundle --base null ../kw.hg
       
    75 
       
    76 cd ..
       
    77 hg init Test
       
    78 cd Test
       
    79 
       
    80 echo % pull from bundle
       
    81 hg pull -u ../kw.hg
    72 
    82 
    73 echo % touch
    83 echo % touch
    74 touch a b
    84 touch a b
    75 echo % status
    85 echo % status
    76 hg status
    86 hg status
    89 echo % force expansion
    99 echo % force expansion
    90 hg -v kwexpand
   100 hg -v kwexpand
    91 echo % compare changenodes in a c
   101 echo % compare changenodes in a c
    92 cat a c
   102 cat a c
    93 
   103 
       
   104 echo % qinit -c
       
   105 hg qinit -c
    94 echo % qimport
   106 echo % qimport
    95 hg qimport -r tip -n mqtest.diff
   107 hg qimport -r tip -n mqtest.diff
       
   108 echo % qcommit
       
   109 hg qcommit -mqtest
    96 echo % keywords should not be expanded in patch
   110 echo % keywords should not be expanded in patch
    97 cat .hg/patches/mqtest.diff
   111 cat .hg/patches/mqtest.diff
    98 echo % qpop
   112 echo % qpop
    99 hg qpop
   113 hg qpop
   100 echo % qpush
   114 echo % qpush