# HG changeset patch # User Augie Fackler # Date 1444770732 14400 # Node ID 76f20fc8d54de2630b712b35c5808c331d755833 # Parent c94cdeeb586a2f8e65e8e91f88882702a2eebb35 commands: use cg?unpacker.apply() instead of changegroup.addchangegroup() diff -r c94cdeeb586a -r 76f20fc8d54d mercurial/commands.py --- a/mercurial/commands.py Tue Oct 13 17:11:52 2015 -0400 +++ b/mercurial/commands.py Tue Oct 13 17:12:12 2015 -0400 @@ -6515,8 +6515,7 @@ for r in op.records['changegroup']] modheads = changegroup.combineresults(changes) else: - modheads = changegroup.addchangegroup(repo, gen, 'unbundle', - 'bundle:' + fname) + modheads = gen.apply(repo, 'unbundle', 'bundle:' + fname) finally: lock.release()