Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/fileset.py @ 38965: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 | ff42ec7845e4 |
children | aebfc4c5c855 |
comparison
equal
deleted
inserted
replaced
38964:8a13855c8dbe | 38965:41e04212261a |
---|---|
484 return mctx | 484 return mctx |
485 | 485 |
486 def _buildstatus(self, keys): | 486 def _buildstatus(self, keys): |
487 self._status = self._basectx.status(self.ctx, self._match, | 487 self._status = self._basectx.status(self.ctx, self._match, |
488 listignored='ignored' in keys, | 488 listignored='ignored' in keys, |
489 listclean=True, | 489 listclean='clean' in keys, |
490 listunknown='unknown' in keys) | 490 listunknown='unknown' in keys) |
491 | 491 |
492 def status(self): | 492 def status(self): |
493 return self._status | 493 return self._status |
494 | 494 |