mercurial/bundle2.py
changeset 35136 2b72bc88043f
parent 35135 db5038525718
child 35137 da91e7309daf
--- a/mercurial/bundle2.py	Mon Nov 13 20:03:02 2017 -0800
+++ b/mercurial/bundle2.py	Mon Nov 13 20:12:00 2017 -0800
@@ -859,9 +859,7 @@
             # Ensure part is fully consumed so we can start reading the next
             # part.
             part.consume()
-            # But then seek back to the beginning so the code consuming this
-            # generator has a part that starts at 0.
-            part.seek(0, os.SEEK_SET)
+
             headerblock = self._readpartheader()
         indebug(self.ui, 'end of bundle2 stream')