hgext/sparse.py
branchstable
changeset 49631 2b8ead6bbb77
parent 49363 bd3519dc6741
child 50829 54d3a6dc2426
--- a/hgext/sparse.py	Thu Jan 05 17:38:14 2023 -0500
+++ b/hgext/sparse.py	Thu Jan 05 19:47:35 2023 -0500
@@ -374,7 +374,7 @@
     if refresh:
         try:
             wlock = repo.wlock()
-            fcounts = map(
+            fcounts = pycompat.maplist(
                 len,
                 sparse.refreshwdir(
                     repo, repo.status(), sparse.matcher(repo), force=force