changeset 38926:41e04212261a

fileset: turn on listclean conditionally This is just a micro optimization.
author Yuya Nishihara <yuya@tcha.org>
date Sun, 22 Jul 2018 11:49:12 +0900
parents 8a13855c8dbe
children aebfc4c5c855
files mercurial/fileset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/fileset.py	Mon Aug 06 00:33:15 2018 -0700
+++ b/mercurial/fileset.py	Sun Jul 22 11:49:12 2018 +0900
@@ -486,7 +486,7 @@
     def _buildstatus(self, keys):
         self._status = self._basectx.status(self.ctx, self._match,
                                             listignored='ignored' in keys,
-                                            listclean=True,
+                                            listclean='clean' in keys,
                                             listunknown='unknown' in keys)
 
     def status(self):