~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

MergeĀ inĀ upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
764
764
        BzrNewError.__init__(self)
765
765
        self.revision_id = revision_id
766
766
 
 
767
 
 
768
class CorruptRepository(BzrNewError):
 
769
    """An error has been detected in the repository %(repo_path)s.
 
770
Please run bzr reconcile on this repository."""
 
771
 
 
772
    def __init__(self, repo):
 
773
        BzrNewError.__init__(self)
 
774
        self.repo_path = repo.bzrdir.root_transport.base