public void doImport(String path, String url, String message, int depth, boolean noIgnore, boolean ignoreUnknownNodeTypes, Map revprops) throws ClientException {
SVNCommitClient commitClient = getSVNCommitClient();
try {
commitClient.setCommitHandler(createCommitMessageHandler(false, true));
SVNProperties revisionProperties = revprops == null ? null : SVNProperties.wrap(revprops);
commitClient.doImport(new File(path), SVNURL.parseURIEncoded(url), message, revisionProperties, !noIgnore, ignoreUnknownNodeTypes, JavaHLObjectFactory.getSVNDepth(depth));
} catch (SVNException e) {
throwException(e);
} finally {
if (commitClient != null) {
commitClient.setCommitHandler(null);