extract the list of the directories that should be deleted in the next checkin, but how?