diff mercurial/localrepo.py @ 6201:305d4450036a

Extend/correct acc40572da5b regarding -qA and ignored files. hg status -qA will now hide untracked files as described in the doc string.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sun, 02 Mar 2008 13:52:34 +0100
parents d500aeb8092e
children 942287cb1f57
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat Mar 01 22:30:03 2008 +0100
+++ b/mercurial/localrepo.py	Sun Mar 02 13:52:34 2008 +0100
@@ -959,7 +959,7 @@
                 yield src, fn
 
     def status(self, node1=None, node2=None, files=[], match=util.always,
-               list_ignored=False, list_clean=False):
+               list_ignored=False, list_clean=False, list_unknown=True):
         """return status of files between two nodes or node and working directory
 
         If node1 is None, use the first dirstate parent instead.
@@ -995,7 +995,8 @@
         if not node2:
             (lookup, modified, added, removed, deleted, unknown,
              ignored, clean) = self.dirstate.status(files, match,
-                                                    list_ignored, list_clean)
+                                                    list_ignored, list_clean,
+                                                    list_unknown)
 
             # are we comparing working dir against its parent?
             if compareworking: