SVNErrorManager.error(err, SVNLogType.WC);
}
// reparent to the sourceURL
repository.setLocation(sourceURL, false);
String[] preservedExts = getOptions().getPreservedConflictFileExtensions();
SVNUpdateEditor editor = SVNUpdateEditor.createUpdateEditor(info, url.toString(),
allowUnversionedObstructions, depthIsSticky, depth, preservedExts, null, false);
ISVNEditor filterEditor = SVNAmbientDepthFilterEditor.wrap(editor, info, depth, depthIsSticky);
String target = "".equals(info.getTargetName()) ? null : info.getTargetName();
repository.update(url, revNumber, target, depth, reporter, SVNCancellableEditor.newInstance(filterEditor, this, getDebugLog()));
long targetRevision = editor.getTargetRevision();
if (targetRevision >= 0 && !isIgnoreExternals() && depth.isRecursive()) {
handleExternals(info.getAnchor().getRoot(), info.getOldExternals(), info.getNewExternals(),
info.getDepths(), url, sourceRoot, depth, false, false);
}