/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: John Arbash Meinel
  • Date: 2008-12-11 03:18:52 UTC
  • mto: This revision was merged to the branch mainline in revision 3895.
  • Revision ID: john@arbash-meinel.com-20081211031852-cmjpdf2ufno0okui
Start using osutils.chunks_as_lines rather than osutils.split_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)