equal
deleted
inserted
replaced
1440 ifh.write(entry) |
1440 ifh.write(entry) |
1441 ifh.write(data[0]) |
1441 ifh.write(data[0]) |
1442 ifh.write(data[1]) |
1442 ifh.write(data[1]) |
1443 self.checkinlinesize(transaction, ifh) |
1443 self.checkinlinesize(transaction, ifh) |
1444 |
1444 |
1445 def addgroup(self, bundle, linkmapper, transaction, addrevisioncb=None): |
1445 def addgroup(self, cg, linkmapper, transaction, addrevisioncb=None): |
1446 """ |
1446 """ |
1447 add a delta group |
1447 add a delta group |
1448 |
1448 |
1449 given a set of deltas, add them to the revision log. the |
1449 given a set of deltas, add them to the revision log. the |
1450 first delta is against its parent, which should be in our |
1450 first delta is against its parent, which should be in our |
1477 ifh.flush() |
1477 ifh.flush() |
1478 try: |
1478 try: |
1479 # loop through our set of deltas |
1479 # loop through our set of deltas |
1480 chain = None |
1480 chain = None |
1481 while True: |
1481 while True: |
1482 chunkdata = bundle.deltachunk(chain) |
1482 chunkdata = cg.deltachunk(chain) |
1483 if not chunkdata: |
1483 if not chunkdata: |
1484 break |
1484 break |
1485 node = chunkdata['node'] |
1485 node = chunkdata['node'] |
1486 p1 = chunkdata['p1'] |
1486 p1 = chunkdata['p1'] |
1487 p2 = chunkdata['p2'] |
1487 p2 = chunkdata['p2'] |