/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/bundle/serializer/v08.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-08-21 09:32:52 UTC
  • mfrom: (7065.3.15 python-bundle)
  • Revision ID: breezy.the.bot@gmail.com-20180821093252-dhir83sygqwzbv77
Fix some bundle-related tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python-bundle/+merge/353123

Show diffs side-by-side

added added

removed removed

Lines of Context:
316
316
            action = Action('removed', [kind, path]).write(self.to_file)
317
317
 
318
318
        for path, file_id, kind in delta.added:
319
 
            action = Action('added', [kind, path], [('file-id', file_id)])
 
319
            action = Action('added', [kind, path], [('file-id', file_id.decode('utf-8'))])
320
320
            meta_modified = (kind=='file' and
321
321
                             new_tree.is_executable(path, file_id))
322
322
            finish_action(action, file_id, kind, meta_modified, True,