--- a/mercurial/bundlerepo.py Wed Aug 23 12:34:56 2017 -0700
+++ b/mercurial/bundlerepo.py Wed Aug 23 12:35:03 2017 -0700
@@ -301,7 +301,6 @@
if cgstream is None:
raise error.Abort(_('No changegroups found'))
- cgstream.seek(0)
self.bundle = changegroup.getunbundler(version, cgstream, 'UN')