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

  • Committer: Jelmer Vernooij
  • Date: 2019-06-03 23:48:08 UTC
  • mfrom: (7316 work)
  • mto: This revision was merged to the branch mainline in revision 7328.
  • Revision ID: jelmer@jelmer.uk-20190603234808-15yk5c7054tj8e2b
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    StrictTestament,
28
28
    StrictTestament3,
29
29
    )
 
30
from breezy.transform import TreeTransform
30
31
from breezy.tests.features import (
31
32
    SymlinkFeature,
32
33
    )
50
51
                                  ('src/foo.c', b'int main()\n{\n}\n')])
51
52
        self.wt.add(['hello', 'src', 'src/foo.c'],
52
53
                    [b'hello-id', b'src-id', b'foo.c-id'])
53
 
        tt = self.wt.get_transform()
 
54
        tt = TreeTransform(self.wt)
54
55
        trans_id = tt.trans_id_tree_path('hello')
55
56
        tt.set_executability(True, trans_id)
56
57
        tt.apply()