SVNWCClient wcClient = new SVNWCClient((ISVNAuthenticationManager) null, null);
wcClient.setEventHandler(getEventDispatcher());
wcClient.doCleanup(dst);
SVNWCAccess tgtAccess = getWCAccess();
SVNAdminArea dir;
String copyFromURL = null;
long copyFromRevision = -1;
try {
dir = open(tgtAccess, dst, true, false, -1);
postCopyCleanup(dir);
if (srcEntry.isCopied()) {
SVNEntry dstEntry = dstAccess.getEntry(dst, false);
SVNLocationEntry info = determineCopyFromInfo(src, srcAccess, srcEntry, dstEntry);
copyFromURL = info.getPath();
copyFromRevision = info.getRevision();
Map attributes = new SVNHashMap();
attributes.put(SVNProperty.URL, copyFromURL);
dir.modifyEntry(dir.getThisDirName(), attributes, true, false);
} else {
copyFromURL = srcEntry.getURL();
copyFromRevision = srcEntry.getRevision();
}
} finally {