--- a/mercurial/smartset.py Sun Jan 05 22:23:31 2025 -0500
+++ b/mercurial/smartset.py Sun Jan 05 22:26:16 2025 -0500
@@ -544,8 +544,7 @@
elif val2 is not None:
# might have been equality and both are empty
yield val2
- for val in it:
- yield val
+ yield from it
class addset(abstractsmartset):