~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2005-08-30 06:49:06 UTC
  • Revision ID: mbp@sourcefrog.net-20050830064905-203cfbb58b1f5acc
- fix imports for moved errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
104
104
        self.revisions = revisions
105
105
        msg = "Could not install revisions:\n%s" % " ,".join(revisions)
106
106
        BzrError.__init__(self, msg)
 
107
 
 
108
 
 
109
class AmbiguousBase(BzrError):
 
110
    def __init__(self, bases):
 
111
        msg = "The correct base is unclear, becase %s are all equally close" %\
 
112
            ", ".join(bases)
 
113
        BzrError.__init__(self, msg)
 
114
        self.bases = bases
 
115