~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2006-06-22 14:40:39 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060622144039-41202b799cb151c8
Add check whether branch has unique revisions

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    """This checkout contains uncommitted changes"""
37
37
    def __init__(self):
38
38
        CommandError.__init__(self, "This checkout has uncommitted changes")
 
39
 
 
40
class ParentMissingRevisions(CommandError):
 
41
    """The parent branch is missing revisions."""
 
42
    def __init__(self, parent):
 
43
        CommandError.__init__(self, 
 
44
            "The parent branch %s is missing revisions from this branch." % 
 
45
            parent)
 
46
        self.parent = parent