*/
public void doMarkReplaced(File path) throws SVNException {
SVNWCAccess wcAccess = createWCAccess();
path = path.getAbsoluteFile();
try {
SVNAdminAreaInfo areaInfo = wcAccess.openAnchor(path, true, SVNWCAccess.INFINITE_DEPTH);
SVNAdminArea anchor = areaInfo.getAnchor();
if (path.equals(anchor.getRoot().getAbsoluteFile())) {
SVNWCManager.markTree(anchor, SVNProperty.SCHEDULE_REPLACE, false, false, SVNWCManager.SCHEDULE);
} else {
SVNEntry entry = anchor.getEntry(path.getName(), false);