/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-11 12:46:45 UTC
  • mfrom: (7511.1.1 actions-no-fork)
  • Revision ID: breezy.the.bot@gmail.com-20200611124645-4lx66gps99i0hmzh
Avoid using fork when running the testsuite in github actions.

Merged from https://code.launchpad.net/~jelmer/brz/actions-no-fork/+merge/385565

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'))