~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

[merge] Jelmer Vernooij's cleanup

Show diffs side-by-side

added added

removed removed

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