mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-113567 Execute svn cleanup for parent directory if file is passed
This commit is contained in:
@@ -73,9 +73,10 @@ public class CleanupWorker extends Task.Backgroundable {
|
||||
for (VirtualFile root : myRoots) {
|
||||
try {
|
||||
File path = virtualToIoFile(root);
|
||||
File pathOrParent = virtualToIoFile(root.isDirectory() ? root : root.getParent());
|
||||
|
||||
indicator.setText(message("action.Subversion.cleanup.progress.text", path));
|
||||
myVcs.getFactory(path).createCleanupClient().cleanup(path, new SvnProgressCanceller(indicator));
|
||||
myVcs.getFactory(path).createCleanupClient().cleanup(pathOrParent, new SvnProgressCanceller(indicator));
|
||||
}
|
||||
catch (VcsException e) {
|
||||
myExceptions.add(Pair.create(e, root));
|
||||
|
||||
Reference in New Issue
Block a user