开发者

java svnkit: read content of file directly from repository, without exporting it

开发者 https://www.devze.com 2023-03-27 05:57 出处:网络
I am using svnkit in Java to interact with a svn repository. I would like to read the content of a file that is stored in svn without checking it out from the开发者_StackOverflow repository or export

I am using svnkit in Java to interact with a svn repository.

I would like to read the content of a file that is stored in svn without checking it out from the开发者_StackOverflow repository or exporting it. Is that possible?

Example filename that i would like to read: http://svnserver/myproject/example.txt

Can you help me out?


Try SVNRepository.getFile(String path, long revision, SVNProperties properties, OutputStream contents).

0

精彩评论

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