/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/tests/test_bundle.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-02-09 15:46:28 UTC
  • mfrom: (7487.1.3 extract)
  • Revision ID: breezy.the.bot@gmail.com-20200209154628-pz2s8qn8h353wr5u
More chunkification of groupcompress APIs.

Merged from https://code.launchpad.net/~jelmer/brz/extract/+merge/378773

Show diffs side-by-side

added added

removed removed

Lines of Context:
1796
1796
        writer = v4.BundleWriter(fileobj)
1797
1797
        writer.begin()
1798
1798
        writer.add_info_record({b'foo': b'bar'})
1799
 
        writer._container.add_bytes_record(b'blah', [(b'two', ), (b'names', )])
 
1799
        writer._container.add_bytes_record([b'blah'], len(b'blah'), [(b'two', ), (b'names', )])
1800
1800
        writer.end()
1801
1801
        fileobj.seek(0)
1802
1802
        record_iter = v4.BundleReader(fileobj).iter_records()