/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

Merge bzr.dev 3903 which brings in 'chunked' encoding.

Also simplify some of the get_bytes_as code, since we don't actually need
the adapters.

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)