For those who are trying to use this while they don't patch out the SVN_IGNORE_EXTERNALS constant that is missing, I've found the equivalent integer flag if you want to use before the official release:
if(!defined('SVN_IGNORE_EXTERNALS'))
define('SVN_IGNORE_EXTERNALS', 128);