}
boolean inRepos = !((targetEntry.isScheduledForAddition() || targetEntry.isScheduledForReplacement()) && !targetEntry.isCopied());
if (parentEntry != null && inRepos && parentEntry.getDepth().compareTo(SVNDepth.FILES) > 0) {
SVNEntry entryInParent = parentDir.getEntry(fullPath.getName(), false);
entryInParent.setDepth(SVNDepth.EXCLUDE);
parentDir.saveEntries(true);
}
// remove dir.
SVNAdminArea dir = wcAccess.retrieve(fullPath);
try {
dir.removeFromRevisionControl(dir.getThisDirName(), true, false);