开发者

SVNKit , show list of files to commit

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜