~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-08-17 10:41:28 UTC
  • mfrom: (2696.3.10 default-format)
  • Revision ID: pqm@pqm.ubuntu.com-20070817104128-30oe09d0jeoii7fx
(mbp) Set default forrmat to dirstate-tags

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"