tests/test-keyword
branchstable
changeset 705 0cb61a4f5c50
parent 669 f077a5dc5b63
child 734 431349420088
equal deleted inserted replaced
703:2017d7b24abe 705:0cb61a4f5c50
    85 echo
    85 echo
    86 echo % diff a hooktest
    86 echo % diff a hooktest
    87 diff a hooktest
    87 diff a hooktest
    88 
    88 
    89 echo % removing commit hook from config
    89 echo % removing commit hook from config
    90 sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nohook
    90 sed -e '/\[hooks\]/,$ d' "$HGRCPATH" > $HGRCPATH.nohook
    91 mv $HGRCPATH.nohook $HGRCPATH
    91 mv "$HGRCPATH".nohook "$HGRCPATH"
    92 rm hooktest
    92 rm hooktest
    93 
    93 
    94 echo % bundle
    94 echo % bundle
    95 hg bundle --base null ../kw.hg
    95 hg bundle --base null ../kw.hg
    96 
    96 
   113 
   113 
   114 echo % pull from bundle
   114 echo % pull from bundle
   115 hg pull -u ../kw.hg 2>&1 | sed -e '/^Content-Type:/,/^diffs (/ d'
   115 hg pull -u ../kw.hg 2>&1 | sed -e '/^Content-Type:/,/^diffs (/ d'
   116 
   116 
   117 echo % remove notify config
   117 echo % remove notify config
   118 sed -e '/\[hooks\]/,$ d' $HGRCPATH > $HGRCPATH.nonotify
   118 sed -e '/\[hooks\]/,$ d' "$HGRCPATH" > $HGRCPATH.nonotify
   119 mv $HGRCPATH.nonotify $HGRCPATH
   119 mv "$HGRCPATH".nonotify "$HGRCPATH"
   120 
   120 
   121 echo % touch
   121 echo % touch
   122 touch a b
   122 touch a b
   123 echo % status
   123 echo % status
   124 hg status
   124 hg status
   362 echo % cat
   362 echo % cat
   363 cat a b
   363 cat a b
   364 echo % hg cat
   364 echo % hg cat
   365 hg cat sym a b
   365 hg cat sym a b
   366 echo
   366 echo
   367 rm $HGRCPATH
   367 rm "$HGRCPATH"
   368 echo % cat
   368 echo % cat
   369 cat a b
   369 cat a b
   370 echo % hg cat
   370 echo % hg cat
   371 hg cat sym a b
   371 hg cat sym a b
   372 echo
   372 echo