/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 bzrlib/commit.py

  • Committer: Jelmer Vernooij
  • Date: 2017-02-05 22:51:57 UTC
  • mto: (6621.2.1 py3)
  • mto: This revision was merged to the branch mainline in revision 6624.
  • Revision ID: jelmer@jelmer.uk-20170205225157-jdk9ppega9c3my86
Run 2to3 idioms fixer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
792
792
            deleted_ids = set(self.basis_inv) - set(self.builder.new_inventory)
793
793
        if deleted_ids:
794
794
            self.any_entries_deleted = True
795
 
            deleted = [(self.basis_tree.id2path(file_id), file_id)
796
 
                for file_id in deleted_ids]
797
 
            deleted.sort()
 
795
            deleted = sorted([(self.basis_tree.id2path(file_id), file_id)
 
796
                for file_id in deleted_ids])
798
797
            # XXX: this is not quite directory-order sorting
799
798
            for path, file_id in deleted:
800
799
                self.builder.record_delete(path, file_id)