/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 breezy/git/annotate.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-09 01:46:24 UTC
  • mfrom: (7486.1.2 chk-inventory-iter)
  • Revision ID: breezy.the.bot@gmail.com-20200209014624-9v5jf9iyuoq0b3ve
parse_text_bytes now takes a list of lines.

Merged from https://code.launchpad.net/~jelmer/brz/chk-inventory-iter/+merge/378772

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 
71
71
    def iter_bytes_as(self, storage_kind):
72
72
        if storage_kind == 'lines':
73
 
            return osutils.chunks_to_lines(self.store[self.blob_id].as_raw_chunks())
 
73
            return iter(osutils.chunks_to_lines(self.store[self.blob_id].as_raw_chunks()))
74
74
        elif storage_kind == 'chunked':
75
75
            return iter(self.store[self.blob_id].as_raw_chunks())
76
76
        raise UnavailableRepresentation(self.key, storage_kind,