/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

Peer review feedback with Ian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1535
1535
                    tuple(parent[0] for parent in refs[0])))
1536
1536
                pb.update("Reading revision index.", 0, 0)
1537
1537
            index_positions.sort()
1538
 
            total = len(index_positions) / 1000 + 1
1539
 
            for offset in xrange(total):
 
1538
            batch_count = len(index_positions) / 1000 + 1
 
1539
            pb.update("Checking cached revision graph.", 0, batch_count)
 
1540
            for offset in xrange(batch_count):
1540
1541
                pb.update("Checking cached revision graph.", offset)
1541
1542
                to_query = index_positions[offset * 1000:(offset + 1) * 1000]
1542
1543
                if not to_query: