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

Re: Deprecate svn_fs_revision_prop() and svn_fs_txn_prop()?

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 1 Dec 2010 04:20:11 +0200

Blair Zajac wrote on Tue, Nov 30, 2010 at 16:42:22 -0800:
> We allow binary data to be stored in revision properties, and given that
> svn_fs_revision_prop() and svn_fs_txn_prop() return const char * data,

Is your svn_fs_revision_prop() different from mine?

[[[
/** Set @a *value_p to the value of the property named @a propname on
 * transaction @a txn. If @a txn has no property by that name, set
 * @a *value_p to zero. Allocate the result in @a pool.
 */
svn_error_t *
svn_fs_txn_prop(svn_string_t **value_p,
                svn_fs_txn_t *txn,
                const char *propname,
                apr_pool_t *pool);

/** Set @a *value_p to the value of the property named @a propname on
 * revision @a rev in the filesystem @a fs. If @a rev has no property by
 * that name, set @a *value_p to zero. Allocate the result in @a pool.
 */
svn_error_t *
svn_fs_revision_prop(svn_string_t **value_p,
                     svn_fs_t *fs,
                     svn_revnum_t rev,
                     const char *propname,
                     apr_pool_t *pool);
]]]
Received on 2010-12-01 03:22:14 CET

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

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