changeset 33037 | d765ad56081f |
parent 33036 | 52c7060b707a |
child 33039 | b82615afde65 |
--- a/mercurial/commands.py Thu Jun 22 13:58:20 2017 -0700 +++ b/mercurial/commands.py Thu Jun 22 14:04:13 2017 -0700 @@ -5214,9 +5214,7 @@ hint=_("see https://mercurial-scm.org/" "wiki/BundleFeature for more " "information")) - changes = [r.get('return', 0) - for r in op.records['changegroup']] - modheads = bundle2.combinechangegroupresults(changes) + modheads = bundle2.combinechangegroupresults(op) else: txnname = 'unbundle\n%s' % util.hidepassword(url) with repo.transaction(txnname) as tr: