I almost use SVNKit API.
I make my client and I can not find a开发者_开发百科 way to show files that can commit. In some of the clients such as Tortoise, we have change dialog with a list of files that have been modified. And we can choose files for "commit".
How can I extract the names/path of these files?
Does API allow you to do?
Thank you in advance
You may have a look at:
SVNCommitClient.doCommit(File[], boolean, String, SVNProperties, String[], boolean, boolean, SVNDepth).
It first collects committable files and directories with doCollectCommitItems(), returns the result in an SVNCommitPacket and then commits this packet by doCommit(). You may copy that code and customize SVNCommitPacket, especially use SVNCommitPacket.setCommitItemSkipped() to skip files.
精彩评论