}
public void linkPath(SVNURL url, String path, String lockToken, long revision, boolean startEmpty) throws SVNException {
assertValidRevision(revision);
SVNURL reposRootURL = getRepositoryRoot(false);
if (url.toDecodedString().indexOf(reposRootURL.toDecodedString()) == -1) {
SVNErrorMessage err = SVNErrorMessage.create(SVNErrorCode.RA_ILLEGAL_URL, "''{0}''\nis not the same repository as\n''{1}''", new Object[] {
url, reposRootURL
});
SVNErrorManager.error(err);
}