SVNURL rootURL = parentEntry.getRepositoryRootURL();
ensureAdminAreaExists(path, copyFromURL.toString(), rootURL != null ? rootURL.toString() : null, parentEntry.getUUID(),
copyFromRev, depth == null ? SVNDepth.INFINITY : depth);
}
if (entry == null || entry.isDeleted()) {
dir = wcAccess.open(path, true, copyFromURL != null ? SVNWCAccess.INFINITE_DEPTH : 0);
}
command.put(SVNProperty.INCOMPLETE, null);
command.put(SVNProperty.SCHEDULE, replace ? SVNProperty.SCHEDULE_REPLACE : SVNProperty.SCHEDULE_ADD);
dir.modifyEntry(dir.getThisDirName(), command, true, true);
if (copyFromURL != null) {