hgext/remotefilelog/remotefilectx.py
changeset 52644 e627cc25b6f3
parent 52643 5cc8deb96b48
child 52692 45dc0f874b8c
--- a/hgext/remotefilelog/remotefilectx.py	Sun Jan 05 22:23:31 2025 -0500
+++ b/hgext/remotefilelog/remotefilectx.py	Sun Jan 05 22:26:16 2025 -0500
@@ -405,8 +405,7 @@
         # The copy tracing algorithm depends on these coming out in order
         ancestors = sorted(ancestors, reverse=True, key=lambda x: x.linkrev())
 
-        for ancestor in ancestors:
-            yield ancestor
+        yield from ancestors
 
     def ancestor(self, fc2, actx):
         # the easy case: no (relevant) renames