300
300
def do_tip_change_with_locked_branch(self, branch, new_last_revision_id):
301
301
if new_last_revision_id == 'null:':
304
304
if not branch.repository.has_revision(new_last_revision_id):
305
305
return FailedSmartServerResponse(
306
306
('NoSuchRevision', new_last_revision_id))
308
309
return SuccessfulSmartServerResponse(('ok',))