开发者

Get content of repository from SVN using SVNKIT

I want to compare 2 repositories in svn. I try to make program which get contents from svn using svn and then compare local directory. Is it possible to 开发者_JS百科get contents from svn using svnkit without checking out. I do not want to modify anything in repository. Is it possible to exclude some elements like images from downloading.


You can use SVNKit as well as the command line:

svn cat URL/file.txt

But this means you have to do file by file...The above svn cat can be done with SVNKit as well....

EDIT: As i wrote you can do everything with SVNKit so the only problem was to take a look into the docs. Ok you can see the documentation of SVNKit and here you have examples how to get the contents of files. An other good source of information is to take a look at the source code of SVNKit, cause there are complete implementations of the svn command line client in Java with all features.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜