subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C. Michael Pilato" <>
Subject Re: object-model: Return by value, reference or pointer? (or something else?)
Date Wed, 13 Oct 2010 14:06:42 GMT
On 10/12/2010 06:06 PM, Branko ─îibej wrote:
> So typically you'd add a hasAuthor function and throw an exception from
> getAuthor if there is no author info for a revision. However, in this
> particular case, returning an empty string is just as good, unless you
> want to make the fine distinction between a svn:author property with an
> empty value (is that even allowed?) and no svn:author property on the
> revision. This is no different than if you had a getProperty(name) and
> did a lookup in a private map of property name/value pairs.

Not paying much attention to the larger discussion, but yes, you can set
svn:author to an empty value, and you can remove the property altogether.
Any bindings layer above our APIs should preserve the distinction.

C. Michael Pilato <>
CollabNet   <>   <>   Distributed Development On Demand

View raw message