equal
deleted
inserted
replaced
297 |
297 |
298 def _keywordmatcher(ui, repo): |
298 def _keywordmatcher(ui, repo): |
299 '''Collects include/exclude filename patterns for expansion |
299 '''Collects include/exclude filename patterns for expansion |
300 candidates of current configuration. Returns filename matching |
300 candidates of current configuration. Returns filename matching |
301 function if include patterns exist, None otherwise.''' |
301 function if include patterns exist, None otherwise.''' |
302 inc, exc = [], ['.hg*'] |
302 inc, exc = [], ['.hgtags'] |
303 for pat, opt in ui.configitems('keyword'): |
303 for pat, opt in ui.configitems('keyword'): |
304 if opt != 'ignore': |
304 if opt != 'ignore': |
305 inc.append(pat) |
305 inc.append(pat) |
306 else: |
306 else: |
307 exc.append(pat) |
307 exc.append(pat) |