src/cordova/util.js
function deleteSvnFolders (dir) {
    var contents = fs.readdirSync(dir);
    contents.forEach(function (entry) {
        var fullpath = path.join(dir, entry);
        if (isDirectory(fullpath)) {
            if (entry === '.svn') {
                fs.removeSync(fullpath);
            } else module.exports.deleteSvnFolders(fullpath);
        }
    });
}
function deleteSvnFolders (dir) {
    var contents = fs.readdirSync(dir);
    contents.forEach(function (entry) {
        var fullpath = path.join(dir, entry);
        if (isDirectory(fullpath)) {
            if (entry === '.svn') {
                fs.removeSync(fullpath);
            } else module.exports.deleteSvnFolders(fullpath);
        }
    });
}
Recursively deletes .svn folders from a target path