~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2006-02-26 07:54:02 UTC
  • mto: (1587.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 1588.
  • Revision ID: robertc@robertcollins.net-20060226075402-92fca9fdb7b0070d
Check for incorrect revision parentage in the weave during revision access.

Show diffs side-by-side

added added

removed removed

Lines of Context:
708
708
    def __init__(self, tree):
709
709
        BzrNewError.__init__(self)
710
710
        self.tree = tree
 
711
 
 
712
class CorruptRepository(BzrNewError):
 
713
    """An error has been detected in the repository %(repo_path)s.
 
714
Please run bzr reconcile on this repository."""
 
715
 
 
716
    def __init__(self, repo):
 
717
        BzrNewError.__init__(self)
 
718
        self.repo_path = repo.bzrdir.root_transport.base