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

  • Committer: Jelmer Vernooij
  • Date: 2020-07-05 12:50:01 UTC
  • mfrom: (7490.40.46 work)
  • mto: (7490.40.48 work)
  • mto: This revision was merged to the branch mainline in revision 7519.
  • Revision ID: jelmer@jelmer.uk-20200705125001-7s3vo0p55szbbws7
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
             include_root, want_unversioned)
92
92
            )
93
93
 
94
 
    def find_source_path(self, target_path, recurse='none'):
95
 
        self.calls.append(
96
 
            ('find_source_path', self.source, self.target, target_path, recurse))
97
 
 
98
94
    @classmethod
99
95
    def is_compatible(klass, source, target):
100
96
        return True
110
106
            RecordingOptimiser.calls = []
111
107
            InterTree.register_optimiser(RecordingOptimiser)
112
108
            tree = self.make_branch_and_tree('1')
113
 
            null_tree = tree.basis_tree()
114
109
            tree2 = self.make_branch_and_tree('2')
115
110
            # do a series of calls:
116
111
            # trivial usage
131
126
            InterTree._optimisers = old_optimisers
132
127
        self.assertEqual(
133
128
            [
134
 
                ('find_source_path', null_tree, tree, '', 'none'),
135
 
                ('find_source_path', null_tree, tree2, '', 'none'),
136
129
                ('compare', tree2, tree, False, None, None, False, False,
137
130
                    False),
138
131
                ('compare', tree2, tree, 'unchanged', 'specific', 'extra',