Commit 23b7a46a authored by agurov's avatar agurov

Unversioned deleted files may reappear in patch dialog if called from Synchronize View (bug 476171)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=476171

git-svn-id: https://dev.eclipse.org/svnroot/technology/org.eclipse.subversive/trunk@21501 ee007c2a-0a25-0410-9ab9-bf268980928c
parent 57e641d2
......@@ -407,8 +407,12 @@ public class SVNRemoteStorage extends AbstractSVNStorage implements IRemoteStora
}
Set retVal = null;
if (map != null) {
retVal = new HashSet(map.keySet());
retVal.addAll(Arrays.asList(members));
retVal = new HashSet(Arrays.asList(members));
for (Object local : map.values()) {
if (((ILocalResource)local).getStatus() != IStateFilter.ST_NOTEXISTS) {
retVal.add(((ILocalResource)local).getResource());
}
}
}
return retVal == null ? members : (IResource [])retVal.toArray(new IResource[retVal.size()]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment