greekTestConfig = new TestConfig(client, greekRepos, greekWC, greekRepository); } return greekTestConfig;
ExpectedRepository greekRepository = ExpectedGreekRepositoryFactory.getGreekRepository();   File greekRepos = new File(localTmp, "repos"); log.fine("Creating repository :" + greekRepos.toString()); clientAdmin.createRepository(greekRepos, ISVNClientAdapter.REPOSITORY_FSTYPE_FSFS); FileUtils.copyFile(new File("test/svnserve.conf"), new File( greekRepos, "conf/svnserve.conf")); FileUtils.copyFile(new File("test/passwd"), new File(greekRepos, "conf/passwd")); log.fine("Importing from : " + greekFiles.toString() + " to repository :" + greekRepos.toString()); clientAdmin.doImport(greekFiles, testsConfig .makeReposUrl(greekRepos), logMessage, true);  greekTestConfig = new TestConfig(client, greekRepos, greekWC, greekRepository); } return greekTestConfig;
    public TestConfig getGreekTestConfig() throws IOException,            SVNClientException {        if (greekTestConfig == null) {            // build the sample repository that will be imported            File greekFiles = new File(localTmp, "greek_files");            greekFiles.mkdir();            ExpectedWC greekWC = ExpectedGreekRepositoryFactory.getGreekWC();            greekWC.materialize(greekFiles);                        ExpectedRepository greekRepository = ExpectedGreekRepositoryFactory.getGreekRepository();                        // create the repository            File greekRepos = new File(localTmp, "repos");            log.fine("Creating repository :" + greekRepos.toString());            clientAdmin.createRepository(greekRepos,                    ISVNClientAdapter.REPOSITORY_FSTYPE_FSFS);            FileUtils.copyFile(new File("test/svnserve.conf"), new File(                    greekRepos, "conf/svnserve.conf"));            FileUtils.copyFile(new File("test/passwd"), new File(greekRepos,                    "conf/passwd"));            log.fine("Importing from : " + greekFiles.toString()                    + " to repository :" + greekRepos.toString());            clientAdmin.doImport(greekFiles, testsConfig                    .makeReposUrl(greekRepos), logMessage, true);            greekTestConfig = new TestConfig(client, greekRepos, greekWC, greekRepository);        }        return greekTestConfig;    }