Mercurial > hg
comparison tests/test-keyword.t @ 13298:f715e6bd8091
keyword: inform user about current keywordset in kwdemo
The kwdemo --default output now looks roughly like this:
configuration using default cvs keywordset
[extensions]
keyword =
[keyword]
demo.txt =
[keywordset] * section added with this change
svn = False
[keywordmaps]
...
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Sun, 23 Jan 2011 03:15:39 +0100 |
parents | 6aff4f144ad3 |
children | 1e497df514e2 |
comparison
equal
deleted
inserted
replaced
13297:613b8bd2284e | 13298:f715e6bd8091 |
---|---|
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 |