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