hgkw/keyword.py
changeset 328 f5154819a11b
parent 327 06f3c6b3dd93
child 330 c5bba07dadd5
--- a/hgkw/keyword.py	Mon Jan 07 11:27:41 2008 +0100
+++ b/hgkw/keyword.py	Mon Jan 07 11:48:51 2008 +0100
@@ -362,10 +362,9 @@
     '''
     status = _status(ui, repo, *pats, **opts)
     modified, added, removed, deleted, unknown, ignored, clean = status
+    files = modified + added + clean
     if opts.get('untracked'):
-        files = modified + added + unknown + clean
-    else:
-        files = modified + added + clean
+        files += unknown
     files.sort()
     kwfiles = [f for f in files if _iskwfile(f, repo._link)]
     cwd = pats and repo.getcwd() or ''