~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2006-12-04 14:32:43 UTC
  • Revision ID: abentley@panoramicfeedback.com-20061204143243-i28ph41mdgbsofev
Fixed handling of pipe errors when writing to patch

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.'