tests/test-keyword
changeset 384 482c91f8c230
parent 381 17e94f77de6a
child 392 45a318c5ea20
equal deleted inserted replaced
383:af4c062c4b41 384:482c91f8c230
    22  -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \
    22  -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \
    23  -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!'
    23  -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!'
    24 
    24 
    25 hg --quiet kwdemo "Branch = {branches}"
    25 hg --quiet kwdemo "Branch = {branches}"
    26 
    26 
    27 hg init Test
    27 hg init Test-bndl
    28 cd Test
    28 cd Test-bndl
    29 
    29 
    30 echo % kwshrink should exit silently in empty/invalid repo
    30 echo % kwshrink should exit silently in empty/invalid repo
    31 hg kwshrink
    31 hg kwshrink
    32 
    32 
    33 echo 'expand $Id$' > a
    33 echo 'expand $Id$' > a
    66 
    66 
    67 echo % removing commit hook from config
    67 echo % removing commit hook from config
    68 sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nohook
    68 sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nohook
    69 mv $HGRCPATH.nohook $HGRCPATH
    69 mv $HGRCPATH.nohook $HGRCPATH
    70 rm hooktest
    70 rm hooktest
       
    71 
       
    72 echo % bundle
       
    73 hg bundle --base null ../kw.hg
       
    74 
       
    75 cd ..
       
    76 hg init Test
       
    77 cd Test
       
    78 
       
    79 echo % pull from bundle
       
    80 hg pull -u ../kw.hg
    71 
    81 
    72 echo % touch
    82 echo % touch
    73 touch a b
    83 touch a b
    74 echo % status
    84 echo % status
    75 hg status
    85 hg status