diff -r d7e614513413 -r 2f5c45fe3a3b mercurial/revlog.py --- a/mercurial/revlog.py Tue Oct 13 17:16:10 2015 -0400 +++ b/mercurial/revlog.py Wed Oct 14 11:32:33 2015 -0400 @@ -1442,7 +1442,7 @@ ifh.write(data[1]) self.checkinlinesize(transaction, ifh) - def addgroup(self, bundle, linkmapper, transaction, addrevisioncb=None): + def addgroup(self, cg, linkmapper, transaction, addrevisioncb=None): """ add a delta group @@ -1479,7 +1479,7 @@ # loop through our set of deltas chain = None while True: - chunkdata = bundle.deltachunk(chain) + chunkdata = cg.deltachunk(chain) if not chunkdata: break node = chunkdata['node']