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

Re: svn commit: r1399064 - in /subversion/trunk/subversion/bindings/javahl: native/ src/org/apache/subversion/javahl/

From: Mark Phippard <markphip_at_gmail.com>
Date: Wed, 17 Oct 2012 10:13:30 -0400

On Tue, Oct 16, 2012 at 9:44 PM, Hyrum K Wright <hyrum_at_hyrumwright.org> wrote:

> Well, we have to return both the existing property *and* the inherited
> props. I don't think a Map will meet those criteria.

I thought the API just returns all the props and it is up to the
caller to decide what to do with the info, such as using the closest
value, merging them etc. So why couldn't you return a Map where the
key is the path where the property was found, and the value is the
property value or even the Property object if we want to return the
key and value?

In Subclipse, I would probably use this for the bugtraq properties.
Currently, we walk the tree in the WC looking for the property. I
would expect to be able to just call the API for a path in the WC. I
will then get back anywhere on that path or any of its parents where
this property is set. In my case, I would use the closest value to
the path I specified when I called the API.

Mark Phippard
Received on 2012-10-17 16:14:02 CEST

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