mercurial/archival.py
changeset 44330 e786d69c665d
parent 43554 9f70512ae2cf
child 44586 f8427841c8fc
--- a/mercurial/archival.py	Fri Jan 24 11:10:07 2020 +0100
+++ b/mercurial/archival.py	Thu Feb 06 16:55:39 2020 -0500
@@ -355,7 +355,7 @@
         if match(name):
             write(name, 0o644, False, lambda: buildmetadata(ctx))
 
-    files = [f for f in ctx.manifest().matches(match)]
+    files = list(ctx.manifest().walk(match))
     total = len(files)
     if total:
         files.sort()