Hi,
I'm having problems executing svn_ra_plugin_t->check_path.
It works fine unless I execute svn_ra_plugin_t->get_commit_editor first, in
which case ->check_path will fail with:
Unknow command 'check-path'
Is it invalid to call ->check_path once a commit_editor has been retrieved?
If so, what approach should I take to validate that the path to a resource
is vali, other than waiting to see if the while transaction fails?
Ie I would like to initially validate as the change to each resource is
submitted
If its not invalid, what am I doing wrong?
...
ra_lib->get_commit_editor(sessionBaton, &commitEditor, &editBaton, "This is
the commit message", __commit_callback_func, commitBaton, sessionPool);
ra_lib->check_path(sessionBaton, resourcePath, requestedRevision, &nodeKind,
sessionPool);
...
William
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 19 06:51:51 2005