# HG changeset patch # User Alexis S. L. Carvalho # Date 1181781585 10800 # Node ID e7d4ed543de5371fdbb889588e9612bded595cc1 # Parent eb3b7dd1e158b5a5f99df2ffc53e13de87a10016 localrepo.status: only append stuff to the clean list if list_clean is true This is consistent with dirstate.status. diff --git a/mercurial/localrepo.py b/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: