Mercurial > public > mercurial-scm > hg-stable
diff mercurial/manifest.py @ 25151:6eb4bdad198f
cleanup: use __builtins__.all instead of util.all
author | Augie Fackler <augie@google.com> |
---|---|
date | Sat, 16 May 2015 14:34:19 -0400 |
parents | 49c583ca48c4 |
children | bf6b476f3b36 |
line wrap: on
line diff
--- a/mercurial/manifest.py Sat May 16 14:34:04 2015 -0400 +++ b/mercurial/manifest.py Sat May 16 14:34:19 2015 -0400 @@ -219,7 +219,7 @@ files instead of over manifest files.''' files = match.files() return (len(files) < 100 and (match.isexact() or - (not match.anypats() and util.all(fn in self for fn in files)))) + (not match.anypats() and all(fn in self for fn in files)))) def walk(self, match): '''Generates matching file names. @@ -465,7 +465,7 @@ def _isempty(self): return (not self._files and (not self._dirs or - util.all(m._isempty() for m in self._dirs.values()))) + all(m._isempty() for m in self._dirs.values()))) def __str__(self): return ('<treemanifest dir=%s, node=%s>' %