long youngestRevNumber[] = { SVNRepository.INVALID_REVISION };
if (path != null) {
SVNWCAccess wcAccess = SVNWCAccess.newInstance(null);
try {
wcAccess.openAnchor(path, false, 0);
SVNEntry entry = wcAccess.getEntry(path, false);
if (entry.getCopyFromURL() != null && revision == SVNRevision.WORKING) {
url = entry.getCopyFromSVNURL();
pegRevisionNumber = entry.getCopyFromRevision();
if (entry.getURL() == null || !entry.getURL().equals(entry.getCopyFromURL())) {