~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2005-10-08 00:50:43 UTC
  • mfrom: (1185.1.53)
  • Revision ID: robertc@robertcollins.net-20051008005043-a6657ae397750425
merge in UnsupportedFormatError feature

Show diffs side-by-side

added added

removed removed

Lines of Context:
506
506
 
507
507
        if (not relax_version_check
508
508
            and self._branch_format != 5):
509
 
            raise BzrError('sorry, branch format %r not supported' % fmt,
 
509
            raise errors.UnsupportedFormatError(
 
510
                           'sorry, branch format %r not supported' % fmt,
510
511
                           ['use a different bzr version',
511
512
                            'or remove the .bzr directory'
512
513
                            ' and "bzr init" again'])