diff --git a/mercurial/bundle2.py b/mercurial/bundle2.py --- a/mercurial/bundle2.py +++ b/mercurial/bundle2.py @@ -403,10 +403,9 @@ def processbundle(repo, unbundler, trans return op def _processchangegroup(op, cg, tr, source, url, **kwargs): - ret, addednodes = cg.apply(op.repo, tr, source, url, **kwargs) + ret = cg.apply(op.repo, tr, source, url, **kwargs) op.records.add('changegroup', { 'return': ret, - 'addednodes': addednodes, }) return ret diff --git a/mercurial/changegroup.py b/mercurial/changegroup.py --- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -412,7 +412,7 @@ class cg1unpacker(object): ret = deltaheads - 1 else: ret = deltaheads + 1 - return ret, added + return ret class cg2unpacker(cg1unpacker): """Unpacker for cg2 streams.