~vexo/bzr/gpg_verify_download_missing

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Robert Collins
  • Date: 2005-11-27 22:38:34 UTC
  • mfrom: (1185.33.36 bzr.dev)
  • Revision ID: robertc@robertcollins.net-20051127223834-d00ecca0d0b9384a
Merge from mpool, adjusting check to retain HTTP support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
458
458
    This should never escape bzr, so does not need to be printable.
459
459
    """
460
460
 
 
461
class MissingText(BzrNewError):
 
462
    """Branch %(base)s is missing revision %(text_revision)s of %(file_id)s"""
 
463
    def __init__(self, branch, text_revision, file_id):
 
464
        self.branch = branch
 
465
        self.base = branch.base
 
466
        self.text_revision = text_revision
 
467
        self.file_id = file_id