~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Aaron Bentley
  • Date: 2007-08-21 01:32:29 UTC
  • mfrom: (2727 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2736.
  • Revision ID: aaron.bentley@utoronto.ca-20070821013229-miopsemz249tv0bl
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"