From 055495fa90a2f30c665429236b3c8f3fc407c0f4 Mon Sep 17 00:00:00 2001 From: irengrig Date: Wed, 13 Mar 2013 13:09:51 +0400 Subject: [PATCH] In Svn local changes provider, check if files reported as dirty still exist. If not, do not ask status for them (moved/deletions will be reported by VFS listener and processed further; and their parent directories will be marked dirty) http://youtrack.jetbrains.com/issue/IDEA-101904#comment=27-458761 --- .../src/org/jetbrains/idea/svn/SvnRecursiveStatusWalker.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/svn4idea/src/org/jetbrains/idea/svn/SvnRecursiveStatusWalker.java b/plugins/svn4idea/src/org/jetbrains/idea/svn/SvnRecursiveStatusWalker.java index 4a49dc16a153..6c2a2982e077 100644 --- a/plugins/svn4idea/src/org/jetbrains/idea/svn/SvnRecursiveStatusWalker.java +++ b/plugins/svn4idea/src/org/jetbrains/idea/svn/SvnRecursiveStatusWalker.java @@ -70,6 +70,7 @@ public class SvnRecursiveStatusWalker { final MyItem item = myQueue.removeFirst(); final FilePath path = item.getPath(); final File ioFile = path.getIOFile(); + if (! ioFile.exists()) continue; // skip items that have already moved/deleted (some time passed after they were reported as dirty) if (path.isDirectory()) { myHandler.setCurrentItem(item);