2420
2420
repo_token = self.repository.lock_write().repository_token
2422
2422
err_context = {'token': token}
2424
'Branch.lock_write', self._remote_path(), branch_token,
2425
'Branch.lock_write', self._remote_path(), branch_token,
2427
2434
raise errors.UnexpectedSmartServerResponse(response)
2428
2435
ok, branch_token, repo_token = response