~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: John Arbash Meinel
  • Date: 2009-06-17 21:08:28 UTC
  • mfrom: (4454.2.1 1.17-extract-one-time)
  • mto: This revision was merged to the branch mainline in revision 4522.
  • Revision ID: john@arbash-meinel.com-20090617210828-p644ef085zyidov6
Bring in the fix to only extract raw records 1 time for get_record_stream()

Show diffs side-by-side

added added

removed removed

Lines of Context:
2005
2005
                missing_keys.remove(record.key)
2006
2006
                yield record
2007
2007
 
2008
 
        self._raw_record_map = self.vf._get_record_map_unparsed(self.keys,
2009
 
            allow_missing=True)
 
2008
        if self._raw_record_map is None:
 
2009
            raise AssertionError('_raw_record_map should have been filled')
2010
2010
        first = True
2011
2011
        for key in self.keys:
2012
2012
            if key in self.nonlocal_keys: