/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_diff.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-01 21:57:00 UTC
  • mfrom: (7490.39.3 move-launchpad)
  • Revision ID: breezy.the.bot@gmail.com-20200601215700-joxuzo6w172gq74v
Move launchpad hoster support to the launchpad plugin.

Merged from https://code.launchpad.net/~jelmer/brz/move-launchpad/+merge/384931

Show diffs side-by-side

added added

removed removed

Lines of Context:
559
559
    def test_internal_diff_exec_property(self):
560
560
        tree = self.make_branch_and_tree('tree')
561
561
 
562
 
        tt = tree.transform()
 
562
        tt = tree.get_transform()
563
563
        tt.new_file('a', tt.root, [b'contents\n'], b'a-id', True)
564
564
        tt.new_file('b', tt.root, [b'contents\n'], b'b-id', False)
565
565
        tt.new_file('c', tt.root, [b'contents\n'], b'c-id', True)
569
569
        tt.apply()
570
570
        tree.commit('one', rev_id=b'rev-1')
571
571
 
572
 
        tt = tree.transform()
 
572
        tt = tree.get_transform()
573
573
        tt.set_executability(False, tt.trans_id_file_id(b'a-id'))
574
574
        tt.set_executability(True, tt.trans_id_file_id(b'b-id'))
575
575
        tt.set_executability(False, tt.trans_id_file_id(b'c-id'))