]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/SVNDirectory.cxx
SGPath: fix creating paths with permission checker.
[simgear.git] / simgear / io / SVNDirectory.cxx
index 923993ac4b1df6c6ab23052d1fbeac1e9f5797a5..b1b57d531130b6c42da9dfd43adb8af3f0cff225 100644 (file)
@@ -177,9 +177,6 @@ void SVNDirectory::writeCache()
 // approximately atomic delete + rename operation
     SGPath cacheName(localPath);
     cacheName.append(DAV_CACHE_NAME);
-    if (cacheName.exists()) {
-        cacheName.remove();
-    }
     p.rename(cacheName);
 }
 
@@ -322,7 +319,6 @@ void SVNDirectory::mergeUpdateReportDetails(unsigned int depth,
     
     Dir d(localPath);
     if (depth >= MAX_UPDATE_REPORT_DEPTH) {
-        SG_LOG(SG_IO, SG_INFO, localPath << "exceeded MAX_UPDATE_REPORT_DEPTH, cleaning");
         d.removeChildren();
         return;
     }