localrepo.status: only append stuff to the clean list if list_clean is true
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Wed, 13 Jun 2007 21:39:45 -0300
changeset 4577 e7d4ed543de5
parent 4576 eb3b7dd1e158
child 4579 4500fbe3a432
localrepo.status: only append stuff to the clean list if list_clean is true This is consistent with dirstate.status.
mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -951,7 +951,8 @@ class localrepository(repo.repository):
                         if fcmp(f, getnode):
                             modified.append(f)
                         else:
-                            clean.append(f)
+                            if list_clean:
+                                clean.append(f)
                             if not wlock and not mywlock:
                                 mywlock = True
                                 try: