981
979
_fmt = "Commit refused because there are unknowns in the tree."
986
984
_fmt = "%(branch)s has no revision %(revision)s"
990
986
def __init__(self, branch, revision):
991
987
# 'branch' may sometimes be an internal object like a KnitRevisionStore
992
988
BzrError.__init__(self, branch=branch, revision=revision)
995
991
# zero_ninetyone: this exception is no longer raised and should be removed
998
994
_fmt = ("Revision %(old_revision)s is not the left parent of"
999
995
" %(new_revision)s, but branch %(branch_location)s expects this")
1003
997
def __init__(self, branch, old_revision, new_revision):
1004
998
BzrError.__init__(self, branch_location=branch.base,
1005
999
old_revision=old_revision,