[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svnjavahl additions

From: Patrick Mayweg <mayweg_at_qint.de>
Date: 2004-07-28 06:45:32 CEST

Hi Panayiotis,
Panayiotis Korros wrote:

>Hi Patrick,
>I am told that you are the guy that knows about the JAVAHL bindings for
>subversion. I am working on subclipse, the SVN plug in for eclipse.
>Currently I am trying to implement synchronization support. To get it
>working I use the SVNClient.status (svn status -u) method.
>
>There are some limitations on the information I get from the Status class.
>
>1. If there is an addition in the repository and the working copy doesn't
>contain the added file/folder then the getNodeKind method returns UNKNOWN so
>I can't determine if the remotely added file is a file or directory.
> Is it possible to add a getRepositoryNokeKind() method?
> Is there another way to get this info?
>
>
This problem lies in what the core subversion libraries deliver to javahl.
SVNClientInterface.list with recurse false could help you.

>2. The Status class contains the getRepositoryTextStatus and
>getRepositoryPropsStatus. It would be very usefull if we could add the
>following information:
> getRepositoryLastChangedRevision()
> getRepositoryLastChangedDate()
> getRepositoryLastCommitAuthor()
>
> They should be only populated when the onServer parameter is true.
> They could be implemented using the svn_repos_get_committed_info()
>function from svn_repos.h
>
> Is there another way to get this information for a file, revision?
>
>
These are Revision properties. You can retrieve them with
SVNClientInterface.revProperty().

>Regards,
>Panagiotis Korros
>
>
>
I will check what I can do with the help of the subversion core
libraries over the weekend.
Patrick
Received on Wed Jul 28 14:45:32 2004

This is an archived mail posted to the Subclipse Dev mailing list.