~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

[merge] jelmer

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
        self.not_ancestor_id = not_ancestor_id
268
268
 
269
269
 
270
 
class NotAncestor(BzrError):
271
 
    def __init__(self, rev_id, not_ancestor_id):
272
 
        self.rev_id = rev_id
273
 
        self.not_ancestor_id = not_ancestor_id
274
 
        msg = "Revision %s is not an ancestor of %s" % (not_ancestor_id, 
275
 
                                                        rev_id)
276
 
        BzrError.__init__(self, msg)
277
 
 
278
 
 
279
270
class InstallFailed(BzrError):
280
271
    def __init__(self, revisions):
281
272
        msg = "Could not install revisions:\n%s" % " ,".join(revisions)