'Change all member objects to point to the specified version.
:param int version: the desired version'

def update_all_links_to(self, version):

    with error_handler.ErrorHandler(self._fix_symlinks):
        previous_links = self._previous_symlinks()
        for (kind, link) in previous_links:
            os.symlink(self.current_target(kind), link)
        for kind in ALL_FOUR:
            self._update_link_to(kind, version)
        for (_, link) in previous_links:
            os.unlink(link)
