diff -r 3b4d5045a920 -r 23da65f04361 hgkw/keyword.py --- a/hgkw/keyword.py Thu Jun 25 12:00:30 2009 +0200 +++ b/hgkw/keyword.py Sat Jun 27 13:05:25 2009 +0200 @@ -359,11 +359,16 @@ _kwfwrite(ui, repo, True, *pats, **opts) def files(ui, repo, *pats, **opts): - '''print files currently configured for keyword expansion + '''print filenames configured for keyword expansion + + Check which filenames in the working directory are matched by the + [keyword] configuration patterns. - Crosscheck which files in working directory are potential targets - for keyword expansion. That is, files matched by [keyword] config - patterns but not symlinks. + Useful to prevent inadvertent keyword expansion and to speed up + execution by including only filenames that are actual candidates + for expansion. + + Use -u/--untracked to display untracked filenames as well. ''' kwt = kwtools['templater'] status = _status(ui, repo, kwt, opts.get('untracked'), *pats, **opts)