mercurial/localrepo.py
changeset 6201 305d4450036a
parent 6181 d500aeb8092e
child 6210 942287cb1f57
--- 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: