# HG changeset patch # User Christian Ebert # Date 1190308433 -3600 # Node ID b0316be232da4df24baf98e0257f8b3db845b473 # Parent e449107a050101ae839369484f9f6682057f4298 Always exclude .hgtags only .hgtags is the only tracked file that is written to just by issuing an hg command. This ensures that even a very unlikely tag like "$Id$" is processed properly. diff -r e449107a0501 -r b0316be232da hgkw/keyword.py --- a/hgkw/keyword.py Thu Sep 20 19:26:20 2007 +0100 +++ b/hgkw/keyword.py Thu Sep 20 18:13:53 2007 +0100 @@ -299,7 +299,7 @@ '''Collects include/exclude filename patterns for expansion candidates of current configuration. Returns filename matching function if include patterns exist, None otherwise.''' - inc, exc = [], ['.hg*'] + inc, exc = [], ['.hgtags'] for pat, opt in ui.configitems('keyword'): if opt != 'ignore': inc.append(pat)