assert fromProxy.projection().getSourceName().equals(intoProxy.projection().getSourceName());
sameLocation = fromProxy.isSameLocationAsOriginal() && intoProxy.isSameLocationAsOriginal();
// Create the pushed-down request ...
Location beforeProxyLocation = beforeProxy != null ? beforeProxy.location() : null;
MoveBranchRequest pushDown = new MoveBranchRequest(fromProxy.location(), intoProxy.location(), beforeProxyLocation,
intoProxy.workspaceName(), request.desiredName(),
request.conflictBehavior());
// Create the federated request ...
FederatedRequest federatedRequest = new FederatedRequest(request);
federatedRequest.add(pushDown, sameLocation, false, fromProxy.projection(), intoProxy.projection());
// Submit the requests for processing and then STOP ...
submit(federatedRequest);
} else {
ProxyNode fromProxy = projectedFromNode.asProxy();
ProxyNode beforeProxy = request.before() != null ? projectedBeforeNode.asProxy() : null;
Location beforeProxyLocation = beforeProxy != null ? beforeProxy.location() : null;
MoveBranchRequest pushDown = new MoveBranchRequest(fromProxy.location(), null, beforeProxyLocation,
fromProxy.workspaceName(), request.desiredName(),
request.conflictBehavior());
// Create the federated request ...
FederatedRequest federatedRequest = new FederatedRequest(request);
federatedRequest.add(pushDown, sameLocation, false, fromProxy.projection());