~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2007-08-20 13:07:12 UTC
  • mfrom: (2732 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2733.
  • Revision ID: abentley@panoramicfeedback.com-20070820130712-buopmg528zcgwyxc
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
962
962
 
963
963
class NoSuchRevision(BzrError):
964
964
 
965
 
    _fmt = "Branch %(branch)s has no revision %(revision)s"
 
965
    _fmt = "%(branch)s has no revision %(revision)s"
966
966
 
967
967
    internal_error = True
968
968
 
969
969
    def __init__(self, branch, revision):
 
970
        # 'branch' may sometimes be an internal object like a KnitRevisionStore
970
971
        BzrError.__init__(self, branch=branch, revision=revision)
971
972
 
972
973
 
 
974
# zero_ninetyone: this exception is no longer raised and should be removed
973
975
class NotLeftParentDescendant(BzrError):
974
976
 
975
977
    _fmt = ("Revision %(old_revision)s is not the left parent of"