98
svn_compat_log_revprops_out_string(const svn_string_t **author,
99
const svn_string_t **date,
100
const svn_string_t **message,
101
apr_hash_t *revprops)
103
*author = *date = *message = NULL;
106
*author = svn_hash_gets(revprops, SVN_PROP_REVISION_AUTHOR);
107
*date = svn_hash_gets(revprops, SVN_PROP_REVISION_DATE);
108
*message = svn_hash_gets(revprops, SVN_PROP_REVISION_LOG);
98
113
svn_compat_log_revprops_out(const char **author, const char **date,
99
114
const char **message, apr_hash_t *revprops)
101
svn_string_t *author_s, *date_s, *message_s;
116
const svn_string_t *author_s, *date_s, *message_s;
117
svn_compat_log_revprops_out_string(&author_s, &date_s, &message_s,
103
*author = *date = *message = NULL;
106
if ((author_s = svn_hash_gets(revprops, SVN_PROP_REVISION_AUTHOR)))
107
*author = author_s->data;
108
if ((date_s = svn_hash_gets(revprops, SVN_PROP_REVISION_DATE)))
109
*date = date_s->data;
110
if ((message_s = svn_hash_gets(revprops, SVN_PROP_REVISION_LOG)))
111
*message = message_s->data;
120
*author = author_s ? author_s->data : NULL;
121
*date = date_s ? date_s->data : NULL;
122
*message = message_s ? message_s->data : NULL;
115
125
/* Baton for use with svn_compat_wrap_log_receiver */