localrepo.status: only append stuff to the clean list if list_clean is true
This is consistent with dirstate.status.
--- 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: