~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-12 03:39:10 UTC
  • mfrom: (4103.3.5 progress)
  • Revision ID: pqm@pqm.ubuntu.com-20090312033910-9umj7rwjo98zl7up
(mbp) small progress improvements

Show diffs side-by-side

added added

removed removed

Lines of Context:
2085
2085
                pos, length = value[1:].split(' ')
2086
2086
                index_positions.append((index, int(pos), key[0],
2087
2087
                    tuple(parent[0] for parent in refs[0])))
2088
 
                pb.update("Reading revision index.", 0, 0)
 
2088
                pb.update("Reading revision index", 0, 0)
2089
2089
            index_positions.sort()
2090
2090
            batch_count = len(index_positions) / 1000 + 1
2091
 
            pb.update("Checking cached revision graph.", 0, batch_count)
 
2091
            pb.update("Checking cached revision graph", 0, batch_count)
2092
2092
            for offset in xrange(batch_count):
2093
 
                pb.update("Checking cached revision graph.", offset)
 
2093
                pb.update("Checking cached revision graph", offset)
2094
2094
                to_query = index_positions[offset * 1000:(offset + 1) * 1000]
2095
2095
                if not to_query:
2096
2096
                    break