862
862
"""See Branch.set_revision_history."""
863
863
old_revision = self.last_revision()
864
864
new_revision = rev_history[-1]
865
878
self.put_controlfile('revision-history', '\n'.join(rev_history))
867
880
self.working_tree().set_last_revision(new_revision, old_revision)