diff.addAll(newExternals.keySet());
}
// now we have diff.
for (Iterator diffPaths = diff.iterator(); diffPaths.hasNext();) {
String diffPath = (String) diffPaths.next();
SVNDepth depth = depths == Collections.EMPTY_MAP ? SVNDepth.INFINITY : (SVNDepth) depths.get(diffPath);
if (depth == null) {
// TODO convert diffpath to full path.
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.WC_CORRUPT, "Traversal of ''{0}'' found no ambient depth", diffPath);
SVNErrorManager.error(err, SVNLogType.WC);
}
if ((requestedDepth.getId() < SVNDepth.INFINITY.getId() && requestedDepth != SVNDepth.UNKNOWN) ||
(depth.getId() < SVNDepth.INFINITY.getId() && requestedDepth.getId() < SVNDepth.INFINITY.getId())) {
continue;
}
String oldValue = (String) oldExternals.get(diffPath);
String newValue = (String) newExternals.get(diffPath);