return dir;
}
private SvnExecutor createSvnExecutor(File baseDir) {
try {
SvnExecutor svn = new SvnExecutor();
svn.setBaseDirectory(baseDir);
svn.validate();
baseDirSelector.savePreferences();
return svn;
} catch (SvnDiffException.NotWorkingCopy e) {
throwInvalidField(baseDirSelector.getTextField(), resources.format(
"Dialog.SVN.Not_Working_Directory_FMT", baseDir.getPath()));