fileset: turn on listclean conditionally
authorYuya Nishihara <yuya@tcha.org>
Sun, 22 Jul 2018 11:49:12 +0900
changeset 38926 41e04212261a
parent 38925 8a13855c8dbe
child 38927 aebfc4c5c855
fileset: turn on listclean conditionally This is just a micro optimization.
mercurial/fileset.py
--- 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):