Ejemplo n.º 1
0
 private void resolveLocalAndRemoteDataMismatches() throws SVNException, CoreException {
   if (svnManager.isWatchedFolderInRepository()) {
     if (!svnManager.isWorkingDirectoryValid()) {
       removeRemoteData(
           "Deleted the remote data because the personal worskpace existed on the remote repository, but, the local working copy was invalid.");
     } else if (svnManager.isLocalWorkCopyOutdated()) {
       removeLocalAndRemoteData(
           "Deleted the remote data because the local working copy was outdated.");
     }
   } else {
     svnManager.removeSVNMetaData();
   }
 }
Ejemplo n.º 2
0
 private void removeLocalAndRemoteData(String svnMessage) throws CoreException, SVNException {
   svnManager.removeSVNMetaData();
   removeRemoteData(svnMessage);
 }