##// END OF EJS Templates
keyword: improve help for kwfiles
Christian Ebert -
r8950:be6b57b2 default
parent child Browse files
Show More
@@ -359,11 +359,16 b' def expand(ui, repo, *pats, **opts):'
359 _kwfwrite(ui, repo, True, *pats, **opts)
359 _kwfwrite(ui, repo, True, *pats, **opts)
360
360
361 def files(ui, repo, *pats, **opts):
361 def files(ui, repo, *pats, **opts):
362 '''print files currently configured for keyword expansion
362 '''print filenames configured for keyword expansion
363
364 Check which filenames in the working directory are matched by the
365 [keyword] configuration patterns.
363
366
364 Crosscheck which files in working directory are potential targets
367 Useful to prevent inadvertent keyword expansion and to speed up
365 for keyword expansion. That is, files matched by [keyword] config
368 execution by including only filenames that are actual candidates
366 patterns but not symlinks.
369 for expansion.
370
371 Use -u/--untracked to display untracked filenames as well.
367 '''
372 '''
368 kwt = kwtools['templater']
373 kwt = kwtools['templater']
369 status = _status(ui, repo, kwt, opts.get('untracked'), *pats, **opts)
374 status = _status(ui, repo, kwt, opts.get('untracked'), *pats, **opts)
@@ -50,7 +50,7 b' list of commands:'
50
50
51 kwdemo print [keywordmaps] configuration and an expansion example
51 kwdemo print [keywordmaps] configuration and an expansion example
52 kwexpand expand keywords in the working directory
52 kwexpand expand keywords in the working directory
53 kwfiles print files currently configured for keyword expansion
53 kwfiles print filenames configured for keyword expansion
54 kwshrink revert expanded keywords in the working directory
54 kwshrink revert expanded keywords in the working directory
55
55
56 enabled extensions:
56 enabled extensions:
General Comments 0
You need to be logged in to leave comments. Login now