[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: Panayiotis Korros <pkorros_at_bigfoot.com>
Date: 2004-07-28 19:49:24 CEST

Hi Patrick,
I checked the subversion documentation and found out that the revision
properties are svn:log svn:author and svn:date. I didn't find a property
that gives me the last commit revision for a file/folder.

I will try to use svn list as a workaround but this will affect the
performance because I will have to execute a list command for every remotely
added file. (in the end it might not be that slow because additions are
usually rare)

Regards, Panos

----- Original Message -----
From: "Patrick Mayweg" <mayweg@qint.de>
To: "Panayiotis Korros" <pkorros@bigfoot.com>
Cc: <dev@subclipse.tigris.org>
Sent: Wednesday, July 28, 2004 7:45 AM
Subject: Re: svnjavahl additions

> 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 Thu Jul 29 03:49:24 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.