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