~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-09-06 09:47:19 UTC
  • mfrom: (1092.1.45)
  • mto: (1185.1.10) (1092.3.1)
  • mto: This revision was merged to the branch mainline in revision 1390.
  • Revision ID: robertc@robertcollins.net-20050906094719-a7e1f8ed80fe4280
mergeĀ fromĀ upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        BzrCommandError.__init__(self, msg)
100
100
 
101
101
 
102
 
class NotAncestor(BzrError):
103
 
    def __init__(self, rev_id, not_ancestor_id):
104
 
        self.rev_id = rev_id
105
 
        self.not_ancestor_id = not_ancestor_id
106
 
        msg = "Revision %s is not an ancestor of %s" % (not_ancestor_id, 
107
 
                                                        rev_id)
108
 
        BzrError.__init__(self, msg)
109
 
 
110
 
 
111
102
class InstallFailed(BzrError):
112
103
    def __init__(self, revisions):
113
104
        self.revisions = revisions