changeset 4579:e7d4ed543de5

localrepo.status: only append stuff to the clean list if list_clean is true This is consistent with dirstate.status.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Wed, 13 Jun 2007 21:39:45 -0300
parents eb3b7dd1e158
children 4500fbe3a432
files mercurial/localrepo.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Jun 13 21:39:45 2007 -0300
+++ b/mercurial/localrepo.py	Wed Jun 13 21:39:45 2007 -0300
@@ -951,7 +951,8 @@
                         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: