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

RE: FW: getting file or directory property/metadata

From: Ren Wang <renwang101_at_gmail.com>
Date: Sun, 29 Nov 2015 02:53:31 -0500

Thank you, svn_fs_node_created_rev() is what I am looking for.

-----Original Message-----
From: Branko Čibej [mailto:brane_at_apache.org]
Sent: Saturday, November 28, 2015 7:07 PM
To: users_at_subversion.apache.org
Subject: Re: FW: getting file or directory property/metadata

On 28.11.2015 18:26, Daniel Shahaf wrote:
> To be fair, though, the same trick with 'svn info' would have lead you
> to svn_fs_node_created_rev(), which is documented to return "the
> revision in which @a path under @a root was created", but in fact
> returns the revision in which it was last modified.

The docstring is correct, but it's not clear that "path under root"
means "node-revision identified by path under root". This is one of the many places where the DAG storage model leaks into public API semantics; what you get is literally the revision number in with the node-revision object was created.

-- Brane
Received on 2015-11-29 08:52:59 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.