147
147
new_revno = graph.find_distance_to_null(
148
148
new_last_revision_id, [(last_rev, last_revno)])
149
149
branch.set_last_revision_info(new_revno, new_last_revision_id)
151
151
return FailedSmartServerResponse(
152
152
('NoSuchRevision', new_last_revision_id))
153
153
return SuccessfulSmartServerResponse(