keyword: make kwfiles --all show unknown files too
More consistent and similar to hg status.
--- a/hgext/keyword.py Wed Sep 30 22:39:56 2009 +0200
+++ b/hgext/keyword.py Wed Sep 30 23:59:03 2009 +0200
@@ -248,7 +248,8 @@
'''Bails out if [keyword] configuration is not active.
Returns status of working directory.'''
if kwt:
- unknown = opts.get('unknown') or opts.get('untracked')
+ unknown = (opts.get('unknown') or opts.get('all')
+ or opts.get('untracked'))
return repo.status(match=cmdutil.match(repo, pats, opts), clean=True,
unknown=unknown)
if ui.configitems('keyword'):