tests/test-keyword.t
branchstable
changeset 784 7e69e2b40d9b
parent 782 09bae16e7a6d
child 786 5a41673d33fb
equal deleted inserted replaced
783:8a23ff764a02 784:7e69e2b40d9b
    10   > EOF
    10   > EOF
    11 
    11 
    12 Run kwdemo before [keyword] files are set up
    12 Run kwdemo before [keyword] files are set up
    13 as it would succeed without uisetup otherwise
    13 as it would succeed without uisetup otherwise
    14 
    14 
    15   $ hg --quiet kwdemo \
    15   $ hg --quiet kwdemo
    16   > | sed -e 's![^ ][^ ]*demo.txt,v!/TMP/demo.txt,v!' \
       
    17   >  -e 's/,v [a-z0-9][a-z0-9]* /,v xxxxxxxxxxxx /' \
       
    18   >  -e '/[$]Revision/ s/: [a-z0-9][a-z0-9]* /: xxxxxxxxxxxx /' \
       
    19   >  -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!'
       
    20   [extensions]
    16   [extensions]
    21   keyword =
    17   keyword =
    22   [keyword]
    18   [keyword]
    23   demo.txt = 
    19   demo.txt = 
    24   [keywordmaps]
    20   [keywordmaps]
    28   Id = {file|basename},v {node|short} {date|utcdate} {author|user}
    24   Id = {file|basename},v {node|short} {date|utcdate} {author|user}
    29   RCSFile = {file|basename},v
    25   RCSFile = {file|basename},v
    30   RCSfile = {file|basename},v
    26   RCSfile = {file|basename},v
    31   Revision = {node|short}
    27   Revision = {node|short}
    32   Source = {root}/{file},v
    28   Source = {root}/{file},v
    33   $Author: test $
    29   \$Author: test \$
    34   $Date: 2000/00/00 00:00:00 $
    30   \$Date: ..../../.. ..:..:.. \$
    35   $Header: /TMP/demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $
    31   \$Header: .*/demo.txt,v ............ ..../../.. ..:..:.. test \$
    36   $Id: demo.txt,v xxxxxxxxxxxx 2000/00/00 00:00:00 test $
    32   \$Id: demo.txt,v ............ ..../../.. ..:..:.. test \$
    37   $RCSFile: demo.txt,v $
    33   \$RCSFile: demo.txt,v \$
    38   $RCSfile: demo.txt,v $
    34   \$RCSfile: demo.txt,v \$
    39   $Revision: xxxxxxxxxxxx $
    35   \$Revision: ............ \$
    40   $Source: /TMP/demo.txt,v $
    36   \$Source: .*/demo.txt,v \$
    41 
    37 
    42   $ hg --quiet kwdemo "Branch = {branches}"
    38   $ hg --quiet kwdemo "Branch = {branches}"
    43   [extensions]
    39   [extensions]
    44   keyword =
    40   keyword =
    45   [keyword]
    41   [keyword]