src/cordova/util.js
function deleteSvnFolders(dir) {
    var contents = fs.readdirSync(dir);
    contents.forEach(function(entry) {
        var fullpath = path.join(dir, entry);
        if (fs.statSync(fullpath).isDirectory()) {
            if (entry == '.svn') {
                shell.rm('-rf', 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 (fs.statSync(fullpath).isDirectory()) {
            if (entry == '.svn') {
                shell.rm('-rf', 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 ( fs . statSync ( fullpath ) . isDirectory ( ) ) { if ( entry == '.svn' ) { shell . rm ( '-rf' , fullpath ) ; } else module . exports . deleteSvnFolders ( fullpath ) ; } } ) ; }
Recursively deletes .svn folders from a target path
Recursively deletes . svn folders from a target path