IDEA-94845 Subversion: after shared project commit the top-level folders appear as locally deleted until Refresh [r=vasya]

This commit is contained in:
irengrig
2012-11-16 17:55:42 +04:00
parent 20971d5e8b
commit 07c6409cbd
2 changed files with 6 additions and 6 deletions
@@ -83,6 +83,7 @@ public class SvnNestedTypeRechecker {
if (! myRoots.isEmpty()) {
initTravellingMap();
// todo be very careful with this code since wrong statuses may be reported if file is not put into the map
final ISVNStatusFileProvider fileProvider = new ISVNStatusFileProvider() {
public Map getChildrenFiles(File parent) {
final Map<String, File> children = myTreeTravellingMap.get(FileUtil.nameToCompare(parent.getAbsolutePath()));
@@ -52,12 +52,11 @@ public class SvnScopeZipper implements Runnable {
me.add(new FilePathImpl(child));
}
}
} else {
final FilePath parent = file.getParentPath();
if (parent != null) {
final MyDirNonRecursive item = createOrGet(parent);
item.add(file);
}
}
final FilePath parent = file.getParentPath();
if (parent != null) {
final MyDirNonRecursive item = createOrGet(parent);
item.add(file);
}
}