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

  • Committer: Jelmer Vernooij
  • Date: 2018-11-16 23:19:12 UTC
  • mfrom: (7180 work)
  • mto: This revision was merged to the branch mainline in revision 7294.
  • Revision ID: jelmer@jelmer.uk-20181116231912-e043vpq22bdkxa6q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        base_tree.add('file', b'file-id')
35
35
        base_tree.commit('first commit', rev_id=b'tree-1')
36
36
        sub_tree = self.make_branch_and_tree('tree/subtree',
37
 
            format='development-subtree')
 
37
                                             format='development-subtree')
38
38
        if same_root is True:
39
39
            sub_tree.set_root_id(base_tree.get_root_id())
40
40
        sub_tree.add('file2', b'file2-id')
96
96
        base_tree, sub_tree = self.make_trees()
97
97
        if base_tree.get_root_id() == sub_tree.get_root_id():
98
98
            raise tests.TestSkipped('This test requires unique roots')
99
 
        sub_root_id = sub_tree.get_root_id()
100
99
        self.assertRaises(errors.BadSubsumeSource, base_tree.subsume,
101
100
                          base_tree)
102
101
        self.assertRaises(errors.BadSubsumeSource, sub_tree.subsume,