SVN: local changes: correctly ask status for passed files, don't assume we have already asked abt them (showed up when reverting a directory)

This commit is contained in:
irengrig
2012-05-25 15:57:36 +04:00
parent d9ae5c00a3
commit 949f51785e
@@ -81,18 +81,8 @@ public class SvnRecursiveStatusWalker {
}
}
} else {
if (item.isIsInnerCopyRoot()) {
// this means that the status of parent directory had already been checked and is unversioned;
// to avoid SVN exception on status query to unversioned directory; and since we already know then that the file
// status is "unversioned" -> just register the unversioned file
if (path.getVirtualFile() != null) {
myReceiver.processUnversioned(path.getVirtualFile());
}
} else {
// just file
final SVNStatus status = item.getClient().doStatus(ioFile, false, false);
myReceiver.process(path, status);
}
final SVNStatus status = item.getClient().doStatus(ioFile, false, false);
myReceiver.process(path, status);
}
}
}