protected Map getMergeInfo(File path, SVNRevision pegRevision, SVNURL repositoryRoot[]) throws SVNException { SVNWCAccess wcAccess = createWCAccess(); try { SVNAdminArea adminArea = wcAccess.probeOpen(path, false, 0); SVNEntry entry = wcAccess.getVersionedEntry(path, false); long revNum[] = { SVNRepository.INVALID_REVISION }; SVNURL url = getEntryLocation(path, entry, revNum, SVNRevision.WORKING); SVNRepository repository = null; try { repository = createRepository(url, null, null, false); repository.assertServerIsMergeInfoCapable(path.toString()); } finally { repository.closeSession(); } SVNURL reposRoot = getReposRoot(path, null, pegRevision, adminArea, wcAccess); if (repositoryRoot != null && repositoryRoot.length > 0) { repositoryRoot[0] = reposRoot; } boolean[] indirect = { false }; return getWCOrRepositoryMergeInfo(path, entry, SVNMergeInfoInheritance.INHERITED, indirect, false, null); } finally { wcAccess.close(); } }
protected Map getMergeInfo(File path, SVNRevision pegRevision, SVNURL repositoryRoot[]) throws SVNException { SVNWCAccess wcAccess = createWCAccess(); try { SVNAdminArea adminArea = wcAccess.probeOpen(path, false, 0); SVNEntry entry = wcAccess.getVersionedEntry(path, false); long revNum[] = { SVNRepository.INVALID_REVISION }; SVNURL url = getEntryLocation(path, entry, revNum, SVNRevision.WORKING); SVNRepository repository = null; try { repository = createRepository(url, null, null, false); repository.assertServerIsMergeInfoCapable(path.toString()); } finally { repository.closeSession(); } SVNURL reposRoot = getReposRoot(path, null, pegRevision, adminArea, wcAccess); if (repositoryRoot != null && repositoryRoot.length > 0) { repositoryRoot[0] = reposRoot; } boolean[] indirect = { false }; return getWCOrRepositoryMergeInfo(path, entry, SVNMergeInfoInheritance.INHERITED, indirect, false, null); } finally { wcAccess.close(); } }
protected Map getMergeInfo(File path, SVNRevision pegRevision, SVNURL repositoryRoot[]) throws SVNException { SVNWCAccess wcAccess = createWCAccess(); try { SVNAdminArea adminArea = wcAccess.probeOpen(path, false, 0); SVNEntry entry = wcAccess.getVersionedEntry(path, false); long revNum[] = { SVNRepository.INVALID_REVISION }; SVNURL url = getEntryLocation(path, entry, revNum, SVNRevision.WORKING); SVNRepository repository = null; try { repository = createRepository(url, null, null, false); repository.assertServerIsMergeInfoCapable(path.toString()); } finally { repository.closeSession(); } SVNURL reposRoot = getReposRoot(path, null, pegRevision, adminArea, wcAccess); if (repositoryRoot != null && repositoryRoot.length > 0) { repositoryRoot[0] = reposRoot; } boolean[] indirect = { false }; return getWCOrRepositoryMergeInfo(path, entry, SVNMergeInfoInheritance.INHERITED, indirect, false, null); } finally { wcAccess.close(); } }
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess); List mergeSources = null; SVNRepository repository = null;
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess); List mergeSources = null; SVNRepository repository = null;
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess); List mergeSources = null; SVNRepository repository = null;
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess); SVNURL sourceReposRoot = getReposRoot(null, url2, pegRevision, null, null);
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess);
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess);
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess);
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess); SVNRepository repository = null; SVNURL sourceReposRoot = null;
SVNURL wcReposRoot = getReposRoot(targetWCPath, null, SVNRevision.WORKING, adminArea, myWCAccess); SVNRepository repository = null; SVNURL sourceReposRoot = null;