1 19 package org.netbeans.lib.cvsclient.response; 20 21 import java.io.*; 22 23 import org.netbeans.lib.cvsclient.util.*; 24 25 29 30 class ClearStickyResponse implements Response { 31 38 public void process(LoggedDataInputStream dis, ResponseServices services) 39 throws ResponseException { 40 try { 41 final String localPath = dis.readLine(); 42 43 final String repositoryPath = dis.readLine(); 44 46 final String absPath = services.convertPathname(localPath, repositoryPath); 47 if (services.getGlobalOptions().isExcluded(new File(absPath))) { 48 return; 49 } 50 51 services.updateAdminData(localPath, repositoryPath, null); 52 File absFile = new File(absPath, "CVS/Tag"); if (absFile.exists()) { 56 absFile.delete(); 57 } 58 } 59 catch (IOException e) { 60 throw new ResponseException(e); 61 } 62 } 63 64 69 public boolean isTerminalResponse() { 70 return false; 71 } 72 } 73 | Popular Tags |