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