/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 bzrlib/errors.py

Move downlevel check up to the Branch.open logic, removing it from the Branch constructor and deprecating relax_version_check to the same.

Show diffs side-by-side

added added

removed removed

Lines of Context:
213
213
 
214
214
 
215
215
class UnsupportedFormatError(BzrError):
216
 
    """Specified path is a bzr branch that we cannot read."""
 
216
    """Specified path is a bzr branch that we recognize but cannot read."""
217
217
    def __str__(self):
218
218
        return 'unsupported branch format: %s' % self.args[0]
219
219
 
220
220
 
 
221
class UnknownFormatError(BzrError):
 
222
    """Specified path is a bzr branch whose format we do not recognize."""
 
223
    def __str__(self):
 
224
        return 'unknown branch format: %s' % self.args[0]
 
225
 
 
226
 
221
227
class NotVersionedError(BzrNewError):
222
228
    """%(path)s is not versioned"""
223
229
    def __init__(self, path):