~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to errors.py

  • Committer: Aaron Bentley
  • Date: 2006-06-27 14:36:32 UTC
  • Revision ID: abentley@panoramicfeedback.com-20060627143632-0f4114d7b0a8d7d9
Fix zap for checkouts of branches with no parents

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
            "The parent branch %s is missing revisions from this branch." % 
45
45
            parent)
46
46
        self.parent = parent
 
47
 
 
48
class NoParent(CommandError):
 
49
    def __init__(self):
 
50
        CommandError.__init__(self, "There is no parent, so deleting the"
 
51
                                    " branch could destroy data.")