/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/transform.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-12-11 20:23:00 UTC
  • mfrom: (3890.2.18 get_record_stream_chunked)
  • Revision ID: pqm@pqm.ubuntu.com-20081211202300-6dz1vo3phfsc23pj
(jam) Add ContentFactory.get_bytes_as('chunked') and
        osutils.chunks_to_lines()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1177
1177
            if kind == 'file':
1178
1178
                cur_file = open(self._limbo_name(trans_id), 'rb')
1179
1179
                try:
1180
 
                    lines = osutils.split_lines(cur_file.read())
 
1180
                    lines = osutils.chunks_to_lines(cur_file.readlines())
1181
1181
                finally:
1182
1182
                    cur_file.close()
1183
1183
                parents = self._get_parents_lines(trans_id)