svnkit,列出SVN存储库的所有文件,而不检出文件 [英] svnkit, list all files of an SVN repository, without checking out the files
本文介绍了svnkit,列出SVN存储库的所有文件,而不检出文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
svnkit.com是Java中的 SVN 库。例如,您可以按如下方式获取SVN存储库的日志:
svnkit.com is an SVN library in Java. For instance, you can get the log of an SVN repository as follows:
SVNClientManager.newInstance().getLogClient();
SVNLogClient.doLog(SVNURL url, String[] paths, SVNRevision pegRevision, SVNRevision startRevision, SVNRevision endRevision, boolean stopOnCopy, boolean discoverChangedPaths,
boolean includeMergedRevisions, long limit, String[] revisionProperties, final ISVNLogEntryHandler handler);
如何列出SVN存储库的所有文件(不检出文件)?
How do I list all files of an SVN repository (without checking out the files)?
推荐答案
检查 SvnList
。有关如何使用的示例,请查看 org.tmatesoft.svn.test.ListTest#testListOnRepositoryRoot
等。因为它出现在 SVNKit存储库的1.7.x分支的最新版本中。
Check SvnList
. For an example on how to use, have a look at org.tmatesoft.svn.test.ListTest#testListOnRepositoryRoot
et al. as it is present in the latest revision of the 1.7.x branch in the SVNKit repository.
这篇关于svnkit,列出SVN存储库的所有文件,而不检出文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文