After upgrading to Mercurial 3.5 I get a "not a Mercurial bundle" when pushing. Pushing changes to the repo still ends up on the server though, so I'm not sure why the error pops up.
Any idea? Or maybe someone can point me in the right direction so that I can fix it myself.
```
hg push --debug --traceback
....
5ce79a7b737e04f3e043735d401d6f526b05e1c4
bundle2-output-bundle: "HG20", 4 parts total
bundle2-output-part: "replycaps" 155 bytes payload
bundle2-output-part: "check:heads" streamed payload
bundle2-output-part: "changegroup" (params: 1 mandatory) streamed payload
bundle2-output-part: "pushkey" (params: 4 mandatory) empty payload
sending unbundle command
sending 934 bytes
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 163, in _runcatch
return _dispatch(req)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 895, in _dispatch
cmdpats, cmdoptions)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 656, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/site-packages/hgext/pager.py", line 130, in pagecmd
return orig(ui, options, cmd, cmdfunc)
File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/site-packages/hgext/color.py", line 525, in colorcmd
return orig(ui_, opts, cmd, cmdfunc)
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 1013, in _runcommand
return checkargs()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 982, in checkargs
return cmdfunc()
File "/usr/local/lib/python2.7/site-packages/mercurial/dispatch.py", line 892, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/mercurial/extensions.py", line 171, in closure
return func(*(args + a), **kw)
File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/hgext/mq.py", line 3515, in mqcommand
return orig(ui, repo, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/mercurial/util.py", line 792, in check
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/mercurial/commands.py", line 5286, in push
bookmarks=opts.get('bookmark', ()))
File "/usr/local/lib/python2.7/site-packages/mercurial/exchange.py", line 240, in push
_pushbundle2(pushop)
File "/usr/local/lib/python2.7/site-packages/mercurial/exchange.py", line 650, in _pushbundle2
reply = pushop.remote.unbundle(stream, ['force'], 'push')
File "/usr/local/lib/python2.7/site-packages/mercurial/wireproto.py", line 411, in unbundle
ret = bundle2.getunbundler(self.ui, stream)
File "/usr/local/lib/python2.7/site-packages/mercurial/bundle2.py", line 606, in getunbundler
raise util.Abort(_('not a Mercurial bundle'))
Abort: not a Mercurial bundle
abort: not a Mercurial bundle
```