mercurial/streamclone.py
changeset 46895 6085b7f1536d
parent 46665 ee91966aec0f
child 46986 faa43f09ad98
--- a/mercurial/streamclone.py	Mon Apr 05 23:54:54 2021 -0400
+++ b/mercurial/streamclone.py	Tue Apr 06 10:38:03 2021 +0200
@@ -243,7 +243,7 @@
     # Get consistent snapshot of repo, lock during scan.
     with repo.lock():
         repo.ui.debug(b'scanning\n')
-        for name, ename, size in _walkstreamfiles(repo):
+        for file_type, name, ename, size in _walkstreamfiles(repo):
             if size:
                 entries.append((name, size))
                 total_bytes += size
@@ -616,7 +616,7 @@
             matcher = narrowspec.match(repo.root, includes, excludes)
 
         repo.ui.debug(b'scanning\n')
-        for name, ename, size in _walkstreamfiles(repo, matcher):
+        for rl_type, name, ename, size in _walkstreamfiles(repo, matcher):
             if size:
                 entries.append((_srcstore, name, _fileappend, size))
                 totalfilesize += size