233
233
def do_tip_change_with_locked_branch(self, branch, new_last_revision_id):
234
234
if new_last_revision_id == 'null:':
237
237
if not branch.repository.has_revision(new_last_revision_id):
238
238
return FailedSmartServerResponse(
239
239
('NoSuchRevision', new_last_revision_id))
241
241
new_last_revision_id, None, None))
242
242
return SuccessfulSmartServerResponse(('ok',))