Getting SVNProperties without getting file content

View: New views
2 Messages — Rating Filter:   Alert me  

Getting SVNProperties without getting file content

by _vector_ :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
Is it possible using SVNKit API to get SVNProperties for the file using path in repository without getting the file content itself?
I'm looking for the functionality equal to the "svn info" . Currently I'm getting them using getFile method of SVNRepository which is obviously overhead :)

Thanks.

Re: Getting SVNProperties without getting file content

by Alexander Sinyushkin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

You are looking in the right direction, just pass null for the
OutputStream parameter to SVNRepository.getFile(), this will
make SVNKit not to fetch file contents.
----
Alexander Sinyushkin,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!

_vector_ wrote:
> Hi,
> Is it possible using SVNKit API to get SVNProperties for the file using path
> in repository without getting the file content itself?
> I'm looking for the functionality equal to the "svn info" . Currently I'm
> getting them using getFile method of SVNRepository which is obviously
> overhead :)
>
> Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: svnkit-users-unsubscribe@...
For additional commands, e-mail: svnkit-users-help@...