~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_branch.py

(jelmer) Reduce the number of connections made during "bzr branch
 --stacked". (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
    def is_supported(self):
123
123
        return False
124
124
 
125
 
    def open(self, transport, name=None, _found=False, ignore_fallbacks=False):
 
125
    def open(self, transport, name=None, _found=False, ignore_fallbacks=False,
 
126
             possible_transports=None):
126
127
        return "opened branch."
127
128
 
128
129
 
143
144
        t.put_bytes('format', self.get_format_string())
144
145
        return 'A branch'
145
146
 
146
 
    def open(self, transport, name=None, _found=False, ignore_fallbacks=False):
 
147
    def open(self, transport, name=None, _found=False, ignore_fallbacks=False,
 
148
             possible_transports=None):
147
149
        return "opened supported branch."
148
150
 
149
151
 
161
163
    def initialize(self, a_bzrdir, name=None):
162
164
        raise NotImplementedError(self.initialize)
163
165
 
164
 
    def open(self, transport, name=None, _found=False, ignore_fallbacks=False):
 
166
    def open(self, transport, name=None, _found=False, ignore_fallbacks=False,
 
167
             possible_transports=None):
165
168
        raise NotImplementedError(self.open)
166
169
 
167
170