Let's say I have several svn:externals declarations. Piston loops through all of them and if they are ready to be converted,
Piston does FileUtils.rm_rf(local_dir)
This is all good but if, let's say, the last svn:externals declarations have a local modification or some other error,
Piston exits and you have to do "svn up" in order to retrieve again the files from the remote repositories.
I suggest you move this FileUtils.rm_rf(local_dir) after you have checked the local directories for errors or modifications
so that if there are any problems with converting to Piston, then at least there will be no changes made.
HTH,
Kiril |