Merge branch 'IDEA-105387' of git://github.com/krasa/intellij-community

This commit is contained in:
Kirill Likhodedov
2013-05-27 13:18:22 +04:00
2 changed files with 12 additions and 1 deletions
@@ -235,7 +235,9 @@ class SvnChangeProviderContext implements StatusReceiver {
myChangelistBuilder.processLocallyDeletedFile(createLocallyDeletedChange(filePath, status));
}
else if (SvnVcs.svnStatusIs(status, SVNStatusType.STATUS_IGNORED)) {
myChangelistBuilder.processIgnoredFile(filePath.getVirtualFile());
if (!myVcs.isWcRoot(filePath)) {
myChangelistBuilder.processIgnoredFile(filePath.getVirtualFile());
}
}
else if (status.isCopied()) {
//
@@ -942,6 +942,15 @@ public class SvnVcs extends AbstractVcs<CommittedChangeList> {
}
}
public boolean isWcRoot(FilePath filePath) {
boolean isWcRoot = false;
WorkingCopy wcRoot = myRootsToWorkingCopies.getWcRoot(filePath.getVirtualFile());
if (wcRoot != null) {
isWcRoot = wcRoot.getFile().getAbsolutePath().equals(filePath.getIOFile().getAbsolutePath());
}
return isWcRoot;
}
private static class JavaSVNDebugLogger extends SVNDebugLogAdapter {
private final boolean myLoggingEnabled;
private final boolean myLogNative;