~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-03-03 07:03:44 UTC
  • mfrom: (1587.1.3 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060303070344-03bb9a021c0d964c
Merge in new reconcile command and revision metadata correctness checks.

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