/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/plugins/fastimport/exporter.py

  • Committer: Jelmer Vernooij
  • Date: 2017-11-12 17:53:35 UTC
  • mto: This revision was merged to the branch mainline in revision 6819.
  • Revision ID: jelmer@jelmer.uk-20171112175335-d3l6b9sy2qzp27mk
Swap arguments for get_file_*.

Show diffs side-by-side

added added

removed removed

Lines of Context:
487
487
        # Record modifications
488
488
        for path, id_, kind in changes.added + my_modified + rd_modifies:
489
489
            if kind == 'file':
490
 
                text = tree_new.get_file_text(id_)
 
490
                text = tree_new.get_file_text(path, id_)
491
491
                file_cmds.append(commands.FileModifyCommand(path.encode("utf-8"),
492
492
                    helpers.kind_to_mode('file', tree_new.is_executable(path, id_)),
493
493
                    None, text))