'Return a repository dependency label based on the repository dependency key.'

def generate_repository_dependencies_folder_label_from_key(self, repository_name, repository_owner, changeset_revision, prior_installation_required, only_if_compiling_contained_td, key):

    if self.key_is_current_repositorys_key(repository_name, repository_owner, changeset_revision, prior_installation_required, only_if_compiling_contained_td, key):
        label = 'Repository    dependencies'
    else:
        if util.asbool(prior_installation_required):
            prior_installation_required_str = '    <i>(prior    install    required)</i>'
        else:
            prior_installation_required_str = ''
        label = ('Repository    <b>%s</b>    revision    <b>%s</b>    owned    by    <b>%s</b>%s' % (repository_name, changeset_revision, repository_owner, prior_installation_required_str))
    return label
