repository = createRepository(url, null, null, true);
sourceReposRoot = repository.getRepositoryRoot(true);
mergeSources = normalizeMergeSources(srcPath, url, sourceReposRoot, pegRevision, rangesToMerge,
repository);
} finally {
repository.closeSession();
}
doMerge(mergeSources, targetWCPath, targetEntry, adminArea, true, true,
wcReposRoot.equals(sourceReposRoot), ignoreAncestry, force, dryRun, recordOnly, false, depth);