~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Martin Pool
  • Date: 2006-06-20 03:57:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1798.
  • Revision ID: mbp@sourcefrog.net-20060620035711-400bb6b6bc6ff95b
Add pyflakes makefile target; fix many warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
from bzrlib.errors import FileExists, NoSuchFile, KnitError, \
76
76
        InvalidRevisionId, KnitCorrupt, KnitHeaderError, \
77
77
        RevisionNotPresent, RevisionAlreadyPresent
78
 
from bzrlib.tuned_gzip import *
 
78
from bzrlib.tuned_gzip import GzipFile
79
79
from bzrlib.trace import mutter
80
80
from bzrlib.osutils import contains_whitespace, contains_linebreaks, \
81
81
     sha_strings
554
554
            records = []
555
555
            for comp_id in basis_versions:
556
556
                data_pos, data_size = basis._index.get_data_position(comp_id)
557
 
                records.append((piece_id, data_pos, data_size))
 
557
                records.append((comp_id, data_pos, data_size))
558
558
            components.update(basis._data.read_records(records))
559
559
 
560
560
        records = []
992
992
        # position in _history is the 'official' index for a revision
993
993
        # but the values may have come from a newer entry.
994
994
        # so - wc -l of a knit index is != the number of unique names
995
 
        # in the weave.
 
995
        # in the knit.
996
996
        self._history = []
997
997
        pb = bzrlib.ui.ui_factory.nested_progress_bar()
998
998
        try: