java svnkit: read content of file directly from repository, without exporting it
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).
精彩评论