--- a/hgkw/keyword.py Wed Jan 02 16:31:49 2008 +0100
+++ b/hgkw/keyword.py Wed Jan 02 16:42:17 2008 +0100
@@ -370,10 +370,7 @@
files.sort()
kwfiles = [f for f in files if _iskwfile(f, repo._link)]
cwd = pats and repo.getcwd() or ''
- if opts.get('ignore'):
- kwfstats = ()
- else:
- kwfstats = (('K', kwfiles),)
+ kwfstats = not opts.get('ignore') and (('K', kwfiles),) or ()
if opts.get('all') or opts.get('ignore'):
kwfstats += (('I', [f for f in files if f not in kwfiles]),)
for char, filenames in kwfstats: