581
583
raise errors.PublicBranchOutOfDate(public_branch,
585
586
for entry in reversed(locked):
587
return klass(revision_id, testament_sha1, time, timezone,
588
target_branch, patch, public_branch, message, bundle,
588
return klass(revision_id, t.as_sha1(), time, timezone, target_branch,
589
patch, public_branch, message, bundle, base_revision_id)
591
591
def _verify_patch(self, repository):
592
592
calculated_patch = self._generate_diff(repository, self.revision_id,