mercurial/scmutil.py
changeset 52644 e627cc25b6f3
parent 52640 24ee91ba9aa8
child 52645 4cb75772818d
--- a/mercurial/scmutil.py	Sun Jan 05 22:23:31 2025 -0500
+++ b/mercurial/scmutil.py	Sun Jan 05 22:26:16 2025 -0500
@@ -514,8 +514,7 @@
                 fname = os.path.join(root, d)
                 if adddir(seen_dirs, fname):
                     if os.path.islink(fname):
-                        for hgname in walkrepos(fname, True, seen_dirs):
-                            yield hgname
+                        yield from walkrepos(fname, True, seen_dirs)
                     else:
                         newdirs.append(d)
             dirs[:] = newdirs