/**
  * Creates a new Client that will handle CVS operations.
  *
  * @return a Client instance
  */
 private Client createClient() {
   Connection connection = setupConnection(CVSRoot.parse(cvsRoot));
   Client client = new Client(connection, CvsVersioningSystem.getInstance().getAdminHandler());
   client.setUncompressedFileHandler(CvsVersioningSystem.getInstance().getFileHandler());
   client.setGzipFileHandler(CvsVersioningSystem.getInstance().getGzippedFileHandler());
   return client;
 }
Example #2
0
 /**
  * ReSet the filehandler for Gzip compressed data. Makes sure the requests for sending gzipped
  * data are not sent..
  */
 public void dontUseGzipFileHandler() {
   setGzipFileHandler(new DefaultFileHandler());
   dontUseGzipFileHandler = true;
 }