mercurial/bundle2.py
changeset 42931 181ee2118a96
parent 42894 38392d5bde8e
child 43076 2372284d9457
--- a/mercurial/bundle2.py	Thu Sep 12 22:31:45 2019 -0700
+++ b/mercurial/bundle2.py	Wed Sep 11 15:03:08 2019 -0700
@@ -368,7 +368,7 @@
 
     def __enter__(self):
         def func():
-            itr = enumerate(self.unbundler.iterparts())
+            itr = enumerate(self.unbundler.iterparts(), 1)
             for count, p in itr:
                 self.count = count
                 self.current = p