if (entry == null) {
return;
}
if (entry.isFile() || (entry.isDirectory() && (entry.isAbsent() || entry.isDeleted()))) {
SVNAdminArea dir = wcAccess.retrieve(path.getParentFile());
if (dir.tweakEntry(path.getName(), baseURL, rootURL, newRevision, false)) {
dir.saveEntries(false);
}
} else if (entry.isDirectory()) {
SVNAdminArea dir = wcAccess.retrieve(path);
tweakEntries(dir, baseURL, rootURL, newRevision, removeMissingDirs, recursive);