diff -r d16332759801 -r 01c42124151a hgkw/keyword.py --- a/hgkw/keyword.py Mon Jun 18 17:49:27 2007 +0200 +++ b/hgkw/keyword.py Wed Jun 20 13:16:38 2007 +0200 @@ -44,11 +44,6 @@ Mercurial internally. The mechanism can be regarded as a convenience for the current user and may be turned off anytime. -The exansion works in 2 modes: - 1) working mode: substitution takes place on every commit and - update of the working repository. - 2) archive mode: substitution is only triggered by "hg archive". - Caveat: "hg import" might fail if the patches were exported from a repo with a different/no keyword setup, whereas "hg unbundle" is safe. @@ -59,12 +54,9 @@ Example: [keyword] # filename patterns for expansion are configured in this section + # files matching patterns with value 'ignore' are ignored **.py = ## expand keywords in all python files x* = ignore ## but ignore files matching "x*" - ** = archive ## keywords in all textfiles are expanded - ## when creating a distribution - y* = noarchive ## keywords in files matching "y*" are not expanded - ## on archive creation ... [keywordmaps] # custom hg template maps _replace_ the CVS-like default ones