} else if (kind == SVNFileType.DIRECTORY) {
int formatVersion = SVNAdminAreaFactory.checkWC(dstPath, true);
if (formatVersion != 0) {
SVNAdminArea adminArea = wcAccess.open(dstPath, false, 0);
SVNEntry rootEntry = adminArea.getEntry(adminArea.getThisDirName(), false);
wcAccess.closeAdminArea(dstPath);
if (rootEntry.getSVNURL() != null && url.equals(rootEntry.getSVNURL())) {
result = doUpdate(dstPath, revision, depth, allowUnversionedObstructions, true);
} else {
String message = "''{0}'' is already a working copy for a different URL";
if (rootEntry.isIncomplete()) {