Mercurial > public > mercurial-scm > hg
diff hgext/largefiles/reposetup.py @ 15319:9da7e96cd5c2 stable
largefiles: remove redundant any_ function
author | Benjamin Pollack <benjamin@bitquabit.com> |
---|---|
date | Wed, 19 Oct 2011 20:40:55 -0400 |
parents | c65f5b6e26d4 |
children | 4439ec496378 |
line wrap: on
line diff
--- a/hgext/largefiles/reposetup.py Thu Oct 20 09:35:37 2011 -0500 +++ b/hgext/largefiles/reposetup.py Wed Oct 19 20:40:55 2011 -0400 @@ -346,7 +346,7 @@ fstandin += os.sep # prevalidate matching standin directories - if lfutil.any_(st for st in match._files + if util.any(st for st in match._files if st.startswith(fstandin)): continue actualfiles.append(f) @@ -400,7 +400,7 @@ repo.__class__ = lfiles_repo def checkrequireslfiles(ui, repo, **kwargs): - if 'largefiles' not in repo.requirements and lfutil.any_( + if 'largefiles' not in repo.requirements and util.any( lfutil.shortname+'/' in f[0] for f in repo.store.datafiles()): repo.requirements.add('largefiles') repo._writerequirements()