diff -r bde7ef23340d -r c0f475ac997e mercurial/commands.py --- a/mercurial/commands.py Thu Oct 15 13:43:18 2015 -0700 +++ b/mercurial/commands.py Wed Oct 14 17:00:34 2015 -0700 @@ -1244,7 +1244,7 @@ bundletype = opts.get('type', 'bzip2').lower() try: - bcompression, cgversion = exchange.parsebundlespec( + bcompression, cgversion, params = exchange.parsebundlespec( repo, bundletype, strict=False) except error.UnsupportedBundleSpecification as e: raise error.Abort(str(e),