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

Re: getting file or directory property/metadata

From: Branko Čibej <brane_at_apache.org>
Date: Thu, 26 Nov 2015 15:46:50 +0100

On 26.11.2015 15:32, Ren Wang wrote:
> How to get a file or directory property by using API, is it
> svn_fs_node_prop()? I was trying to get svn:author (a default property) for
> a file from the repository, but the API always returns NULL.

You already got the answer to that question in a previous response:
svn:author is a *revision* property, not a *node* property. You should
be looking at the properties for the revision in which the file was last
changed.

-- Brane
Received on 2015-11-26 15:46:54 CET

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

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