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