scraper/tfs/__init__.py
def get_tfvc_repos(url, token, collection, project):
    """
    Returns a list of all tfvc branches for the supplied project within the supplied collection
    """
    branch_list = []
    tfvc_client = create_tfs_tfvc_client('{url}/{collection_name}'.format(url=url, collection_name=collection.name), token)

    logger.debug('Retrieving Tfvc Branches for Project: {project_name}'.format(project_name=project.name))
    branches = tfvc_client.get_branches(project.id, True, True, False, True)
    if branches:
        branch_list.extend(branches)
    else:
        logger.debug('No Tfvcc Branches in Project: {project_name}'.format(project_name=project.name))

    return branch_list
def get_tfvc_repos(url, token, collection, project):
    branch_list = []
    tfvc_client = create_tfs_tfvc_client('{url}/{collection_name}'.format(url=url, collection_name=collection.name), token)

    logger.debug('Retrieving Tfvc Branches for Project: {project_name}'.format(project_name=project.name))
    branches = tfvc_client.get_branches(project.id, True, True, False, True)
    if branches:
        branch_list.extend(branches)
    else:
        logger.debug('No Tfvcc Branches in Project: {project_name}'.format(project_name=project.name))

    return branch_list
def get_tfvc_repos ( url , token , collection , project ) : branch_list = [ ] tfvc_client = create_tfs_tfvc_client ( '{url}/{collection_name}' . format ( url = url , collection_name = collection . name ) , token ) logger . debug ( 'Retrieving Tfvc Branches for Project: {project_name}' . format ( project_name = project . name ) ) branches = tfvc_client . get_branches ( project . id , True , True , False , True ) if branches : branch_list . extend ( branches ) else : logger . debug ( 'No Tfvcc Branches in Project: {project_name}' . format ( project_name = project . name ) ) return branch_list
Returns a list of all tfvc branches for the supplied project within the supplied collection
Returns a list of all tfvc branches for the supplied project within the supplied collection