979
973
_fmt = "Commit refused because there are unknowns in the tree."
984
978
_fmt = "%(branch)s has no revision %(revision)s"
988
980
def __init__(self, branch, revision):
989
981
# 'branch' may sometimes be an internal object like a KnitRevisionStore
990
982
BzrError.__init__(self, branch=branch, revision=revision)
993
985
# zero_ninetyone: this exception is no longer raised and should be removed
996
988
_fmt = ("Revision %(old_revision)s is not the left parent of"
997
989
" %(new_revision)s, but branch %(branch_location)s expects this")
1001
991
def __init__(self, branch, old_revision, new_revision):
1002
992
BzrError.__init__(self, branch_location=branch.base,
1003
993
old_revision=old_revision,