	private static void importProject(SVNRepository repo) throws Exception {
		log.info("Import the project...");
		repo.setAuthenticationManager(andyMeneely);
		ISVNEditor editor = repo.getCommitEditor("import project", null , true , null );
		editor.openRoot(-1);
		List<File> files = new RecurseJavaFiles(true).loadRecursive(new File("testsvn/mancala"));
		for (File file : files) {
			String svnpath = "";
			svnpath = "trunk/" + file.getPath().replaceFirst("testsvn\\\\", "").replaceAll("\\\\", "/");
			log.debug("Adding svnpath: " + svnpath);
			if (file.isDirectory()) {
				editor.addDir(svnpath, null, -1);
				editor.closeDir();
			} else {
				editor.addFile(svnpath, null, -1);
				editor.applyTextDelta(svnpath, null);
				Scanner scanner = new Scanner(file);
				StringBuffer sb = new StringBuffer();
				while (scanner.hasNext())
					sb.append(scanner.next());
				scanner.close();
				String checksum = new SVNDeltaGenerator().sendDelta(svnpath, new ByteArrayInputStream(sb.toString().getBytes()), editor, true);
				editor.closeFile(svnpath, checksum);
			}
		}
		SVNCommitInfo commitInfo = editor.closeEdit();
		log.info("Finished commit: " + commitInfo.toString());
	}

	private static void importProject(SVNRepository repo) throws Exception {
		log.info("Import the project...");
		repo.setAuthenticationManager(andyMeneely);
		ISVNEditor editor = repo.getCommitEditor("import project", null , true , null );
		editor.openRoot(-1);
		List<File> files = new RecurseJavaFiles(true).loadRecursive(new File("testsvn/mancala"));
		for (File file : files) {
			String svnpath = "";
			svnpath = "trunk/" + file.getPath().replaceFirst("testsvn\\\\", "").replaceAll("\\\\", "/");
			log.debug("Adding svnpath: " + svnpath);
			if (file.isDirectory()) {
				editor.addDir(svnpath, null, -1);
				editor.closeDir();
			} else {
				editor.addFile(svnpath, null, -1);
				editor.applyTextDelta(svnpath, null);
				Scanner scanner = new Scanner(file);
				StringBuffer sb = new StringBuffer();
				while (scanner.hasNextLine())
					sb.append(scanner.nextLine() + "\r\n");
				scanner.close();
				String checksum = new SVNDeltaGenerator().sendDelta(svnpath, new ByteArrayInputStream(sb.toString().getBytes()), editor, true);
				editor.closeFile(svnpath, checksum);
			}
		}
		SVNCommitInfo commitInfo = editor.closeEdit();
		log.info("Finished commit: " + commitInfo.toString());
	}
