tests/test-keyword.t
changeset 1097 7f458d071b49
parent 1096 cbb200487fb6
child 1104 5c7fdc5d6a36
equal deleted inserted replaced
1092:25db33023e4e 1097:7f458d071b49
     1   $ "$TESTDIR/hghave" symlink unix-permissions serve || exit 80
     1   $ "$TESTDIR/hghave" unix-permissions serve || exit 80
     2 
     2 
     3   $ cat <<EOF >> $HGRCPATH
     3   $ cat <<EOF >> $HGRCPATH
     4   > [extensions]
     4   > [extensions]
     5   > keyword =
     5   > keyword =
     6   > mq =
     6   > mq =
   656   $ hg status
   656   $ hg status
   657   A c
   657   A c
   658   $ hg update --clean
   658   $ hg update --clean
   659   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   659   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   660 
   660 
       
   661 #if symlink
       
   662 
   661 cp symlink file; hg cp -A symlink file (part2)
   663 cp symlink file; hg cp -A symlink file (part2)
   662 - copied symlink points to kw ignored file: do not overwrite
   664 - copied symlink points to kw ignored file: do not overwrite
   663 
   665 
   664   $ cat a > i
   666   $ cat a > i
   665   $ ln -s i symignored
   667   $ ln -s i symignored
   676   repository tip rolled back to revision 1 (undo commit)
   678   repository tip rolled back to revision 1 (undo commit)
   677   working directory now based on revision 1
   679   working directory now based on revision 1
   678   $ hg update --clean
   680   $ hg update --clean
   679   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   681   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
   680   $ rm i symignored
   682   $ rm i symignored
       
   683 
       
   684 #endif
   681 
   685 
   682 Custom keywordmaps as argument to kwdemo
   686 Custom keywordmaps as argument to kwdemo
   683 
   687 
   684   $ hg --quiet kwdemo "Xinfo = {author}: {desc}"
   688   $ hg --quiet kwdemo "Xinfo = {author}: {desc}"
   685   [extensions]
   689   [extensions]
  1121   do not process $Id:
  1125   do not process $Id:
  1122   xxx $
  1126   xxx $
  1123   $Xinfo$
  1127   $Xinfo$
  1124   ignore $Id$
  1128   ignore $Id$
  1125   a
  1129   a
       
  1130 
       
  1131   $ cd ..