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.
--- 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)