Mercurial > hgrepos > DevTools > mercurial-extensions
changeset 134:aa553e987939
Priorize keyword substitutions over other keyword types
| author | Franz Glasner <hg@dom66.de> |
|---|---|
| date | Sun, 19 Aug 2018 00:38:03 +0200 |
| parents | 8d16138e00af |
| children | 47b931eb39b9 |
| files | extensions/kwarchive.py |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/kwarchive.py Sat Aug 18 23:48:57 2018 +0200 +++ b/extensions/kwarchive.py Sun Aug 19 00:38:03 2018 +0200 @@ -453,7 +453,7 @@ # This prevents unwanted keyword expansion here _MARKER_RCS = '$' _MARKER_RST = '|' - for kw, value in itertools.chain(keywords.items(), file_keywords.items(), keyword_substitutions.items()): + for kw, value in itertools.chain(keyword_substitutions.items(), keywords.items(), file_keywords.items()): # # an empty database means: all keywords allowed, no aliases, # no substitutions
