mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-145934 Do not fail svn file status detection in case of WC_PATH_NOT_FOUND (svn: E155010) error occurs - such errors could be reported for non-existent paths (for instance, if some of the parent directories was previously moved) and in such cases we should just report "no changes" for given path (instead of reporting corresponding error)
This commit is contained in:
@@ -143,7 +143,7 @@ public class SvnRecursiveStatusWalker {
|
||||
}
|
||||
|
||||
private void handleStatusException(@NotNull MyItem item, @NotNull SvnBindException e) throws SvnBindException {
|
||||
if (e.contains(SVNErrorCode.WC_NOT_DIRECTORY) || e.contains(SVNErrorCode.WC_NOT_FILE)) {
|
||||
if (e.contains(SVNErrorCode.WC_NOT_DIRECTORY) || e.contains(SVNErrorCode.WC_NOT_FILE) || e.contains(SVNErrorCode.WC_PATH_NOT_FOUND)) {
|
||||
final VirtualFile virtualFile = item.getPath().getVirtualFile();
|
||||
if (virtualFile != null && !isIgnoredByVcs(virtualFile)) {
|
||||
// self is unversioned
|
||||
|
||||
Reference in New Issue
Block a user