/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: 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:
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',