Collects commit items (containing detailed information on each Working Copy item that was changed and need to be committed to the repository) into a single {@link SVNCommitPacket}.
This method is equivalent to
doCollectCommitItems(paths, keepLocks, force, SVNDepth.fromRecurse(recursive), null)
.
@param paths an array of local items which should be traversedto collect information on every changed item (one
SVNCommitItem per each modified local item)
@param keepLocks if
true and there are local items that were locked then these items will be left locked after traversing all of them, otherwise the items will be unlocked
@param force forces collecting commit items for a non-recursive commit
@param recursive relevant only for directory items: if
true then the entire directory tree will be traversed including all child directories, otherwise only items located in the directory itself will be processed
@return an
SVNCommitPacket containingall Working Copy items having local modifications and represented as
SVNCommitItem objects; if no modified items were found then {@link SVNCommitPacket#EMPTY} is returned
@throws SVNException
@deprecated use {@link #doCollectCommitItems(File[],boolean,boolean,SVNDepth,String[])}instead