repository.setLocation(sourceURL, false);
String[] preservedExts = getOptions().getPreservedConflictFileExtensions();
ISVNUpdateEditor editor = wcAccess.createUpdateEditor(info, url.toString(),
allowUnversionedObstructions, depthIsSticky, depth, preservedExts, null, false);
ISVNEditor filterEditor = SVNAmbientDepthFilterEditor.wrap(editor, info, 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();