/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/archive/tar.py

  • Committer: Jelmer Vernooij
  • Date: 2019-05-29 03:28:14 UTC
  • mfrom: (7303 work)
  • mto: This revision was merged to the branch mainline in revision 7305.
  • Revision ID: jelmer@jelmer.uk-20190529032814-fzqbrgf9647u9ptq
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
        buf = BytesIO()
138
138
        zipstream = gzip.GzipFile(basename, 'w', fileobj=buf,
139
139
                                  mtime=root_mtime)
140
 
        for chunk in tarball_generator(
141
 
                tree, root, subdir, force_mtime):
 
140
        for chunk in tarball_generator(tree, root, subdir, force_mtime):
142
141
            zipstream.write(chunk)
143
142
            # Yield the data that was written so far, rinse, repeat.
144
143
            yield buf.getvalue()