hgext/largefiles/reposetup.py
branchstable
changeset 15319 9da7e96cd5c2
parent 15316 c65f5b6e26d4
child 15385 4439ec496378
--- 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()