tests/test-keyword.t
changeset 874 272a8a316f7a
parent 868 16cfcb56859a
child 884 fe775751eb93
equal deleted inserted replaced
873:05e160f8f8bc 874:272a8a316f7a
    15   $ hg --quiet kwdemo
    15   $ hg --quiet kwdemo
    16   [extensions]
    16   [extensions]
    17   keyword =
    17   keyword =
    18   [keyword]
    18   [keyword]
    19   demo.txt = 
    19   demo.txt = 
       
    20   [keywordset]
       
    21   svn = False
    20   [keywordmaps]
    22   [keywordmaps]
    21   Author = {author|user}
    23   Author = {author|user}
    22   Date = {date|utcdate}
    24   Date = {date|utcdate}
    23   Header = {root}/{file},v {node|short} {date|utcdate} {author|user}
    25   Header = {root}/{file},v {node|short} {date|utcdate} {author|user}
    24   Id = {file|basename},v {node|short} {date|utcdate} {author|user}
    26   Id = {file|basename},v {node|short} {date|utcdate} {author|user}
    38   $ hg --quiet kwdemo "Branch = {branches}"
    40   $ hg --quiet kwdemo "Branch = {branches}"
    39   [extensions]
    41   [extensions]
    40   keyword =
    42   keyword =
    41   [keyword]
    43   [keyword]
    42   demo.txt = 
    44   demo.txt = 
       
    45   [keywordset]
       
    46   svn = False
    43   [keywordmaps]
    47   [keywordmaps]
    44   Branch = {branches}
    48   Branch = {branches}
    45   $Branch: demobranch $
    49   $Branch: demobranch $
    46 
    50 
    47   $ cat <<EOF >> $HGRCPATH
    51   $ cat <<EOF >> $HGRCPATH
   631   [keyword]
   635   [keyword]
   632   ** = 
   636   ** = 
   633   b = ignore
   637   b = ignore
   634   demo.txt = 
   638   demo.txt = 
   635   i = ignore
   639   i = ignore
       
   640   [keywordset]
       
   641   svn = False
   636   [keywordmaps]
   642   [keywordmaps]
   637   Xinfo = {author}: {desc}
   643   Xinfo = {author}: {desc}
   638   $Xinfo: test: hg keyword configuration and expansion example $
   644   $Xinfo: test: hg keyword configuration and expansion example $
   639 
   645 
   640 Configure custom keywordmaps
   646 Configure custom keywordmaps