'Add an entry to self.installed_repository_dependencies_of_installed_repositories.  A side-effect of this method
is the population of self.installed_dependent_repositories_of_installed_repositories.  Since this method discovers
all repositories required by the received repository, it can use the list to add entries to the reverse dictionary.'

def add_entry_to_installed_repository_dependencies_of_installed_repositories(self, repository):

    repository_tup = self.get_repository_tuple_for_installed_repository_manager(repository)
    (tool_shed, name, owner, installed_changeset_revision) = repository_tup
    status = self.install_model.ToolShedRepository.installation_status.INSTALLED
    repository_dependency_tups = self.get_repository_dependency_tups_for_installed_repository(repository, status=status)
    if (repository_tup not in self.installed_repository_dependencies_of_installed_repositories):
        debug_msg = ('Adding    an    entry    for    revision    %s    of    repository    %s    owned    by    %s    ' % (installed_changeset_revision, name, owner))
        debug_msg += 'to    installed_repository_dependencies_of_installed_repositories.'
        log.debug(debug_msg)
        self.installed_repository_dependencies_of_installed_repositories[repository_tup] = repository_dependency_tups
    for required_repository_tup in repository_dependency_tups:
        debug_msg = ('Appending    revision    %s    of    repository    %s    owned    by    %s    ' % (installed_changeset_revision, name, owner))
        debug_msg += 'to    all    dependent    repositories    in    installed_dependent_repositories_of_installed_repositories.'
        log.debug(debug_msg)
        if (required_repository_tup in self.installed_dependent_repositories_of_installed_repositories):
            self.installed_dependent_repositories_of_installed_repositories[required_repository_tup].append(repository_tup)
        else:
            self.installed_dependent_repositories_of_installed_repositories[required_repository_tup] = [repository_tup]
