I ran across this in the subversion archives:
http://thread.gmane.org/gmane.comp.version-control.subversion.devel/55794
I am also needing this feature. Could someone supply me with a patch or help
tell me how to get a HTTP header property while in version.c
svn_error_t *
dav_svn__attach_auto_revprops(svn_fs_txn_t *txn,
const char *fs_path,
apr_pool_t *pool)
{
const char *logmsg;
svn_string_t *logval;
svn_error_t *serr;
logmsg = apr_psprintf(pool,
"Autoversioning commit: a non-deltaV client made "
"a change to\n%s", fs_path);
logval = svn_string_create(logmsg, pool);
if ((serr = svn_repos_fs_change_txn_prop(txn, SVN_PROP_REVISION_LOG, logval,
pool)))
return serr;
/* Notate that this revision was created by autoversioning. (Tools
like post-commit email scripts might not care to send an email
for every autoversioning change.) */
if ((serr = svn_repos_fs_change_txn_prop(txn,
SVN_PROP_REVISION_AUTOVERSIONED,
svn_string_create("*", pool),
pool)))
return serr;
return SVN_NO_ERROR;
}
Since I am in control of the subversion on our server, I can implement this. I
have not done C development in quite a long time. I have been doing Java and
XQuery. I would appreciate any help that you might be able to provide.
Thank you,
Loren