tests/test-keyword.t
branchstable
changeset 1095 716365545fb1
parent 1080 4ee1c08706c4
child 1096 cbb200487fb6
equal deleted inserted replaced
1094:467eb2068e4a 1095:716365545fb1
     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]