Make kwfiles --all show unknown files too
authorChristian Ebert <blacktrash@gmx.net>
Thu, 01 Oct 2009 13:39:15 +0200
changeset 652 d278bbd85f5d
parent 651 a047bb9bab24
child 653 f4b2fe9d23df
Make kwfiles --all show unknown files too More consistent and similar to hg status.
hgkw/keyword.py
--- a/hgkw/keyword.py	Thu Oct 01 13:39:15 2009 +0200
+++ b/hgkw/keyword.py	Thu Oct 01 13:39:15 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'):