equal
deleted
inserted
replaced
105 if opt != 'ignore': |
105 if opt != 'ignore': |
106 inc.append(pat) |
106 inc.append(pat) |
107 else: |
107 else: |
108 exc.append(pat) |
108 exc.append(pat) |
109 if not inc: |
109 if not inc: |
110 ui.debug(_('keyword: no filename globs for substitution\n')) |
|
111 return [] |
110 return [] |
112 kwfmatcher = util.matcher(repo.root, inc=inc, exc=['.hg*']+exc)[1] |
111 kwfmatcher = util.matcher(repo.root, inc=inc, exc=['.hg*']+exc)[1] |
113 return [f for f in files if kwfmatcher(f)] |
112 return [f for f in files if kwfmatcher(f)] |
114 |
113 |
115 |
114 |