memory list
is performed.

:param clear_obsolete_packs: If True, clear out the contents of the
    obsolete_packs directory.
:param obsolete_packs: Packs that are obsolete once the new pack-names
    file has been written.
:return: A list of the names saved that were not previously on disk.
r