Committs an addition of a local unversioned file or directory into the repository.
This method is identical to
doImport(path, dstURL, commitMessage, null, true, false, SVNDepth.fromRecurse(recursive))
.
@param path a local unversioned file or directory to be importedinto the repository
@param dstURL a URL-string that represents a repository locationwhere the
path
will be imported
@param commitMessage a string to be a commit log message
@param recursive this flag is relevant only when the
path
is a directory: if
true then the entire directory tree will be imported including all child directories, otherwise only items located in the directory itself
@return information on a new revision as the resultof the commit
@throws SVNException if one of the following is true:
dstURL
is invalid - the path denoted by
dstURL
already exists path
contains a reserved name - '.svn'
@deprecated use {@link #doImport(File,SVNURL,String,SVNProperties,boolean,boolean,SVNDepth)}instead