diff hgext/keyword.py @ 9492:3b1864bcc58f

keyword: make kwfiles --all show unknown files too More consistent and similar to hg status.
author Christian Ebert <blacktrash@gmx.net>
date Wed, 30 Sep 2009 23:59:03 +0200
parents 12e340b9f1bf
children fe1ecd15c6bd
line wrap: on
line diff
--- 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'):