~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2007-08-14 20:19:46 UTC
  • Revision ID: abentley@panoramicfeedback.com-20070814201946-0sakbyeb2zb533uf
Remove branch-mark command

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
class ParentMissingRevisions(CommandError):
64
64
    """The parent branch is missing revisions."""
65
65
    def __init__(self, parent):
66
 
        CommandError.__init__(self, 
67
 
            "The parent branch %s is missing revisions from this branch." % 
 
66
        CommandError.__init__(self,
 
67
            "The parent branch %s is missing revisions from this branch." %
68
68
            parent)
69
69
        self.parent = parent
70
70
 
72
72
    def __init__(self):
73
73
        CommandError.__init__(self, "There is no parent, so deleting the"
74
74
                                    " branch could destroy data.")
 
75
 
 
76
class ChangedBinaryFiles(BzrError):
 
77
 
 
78
    _fmt = 'Changes involve binary files.'