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

Unknown command check-path

From: William Ferguson <william.ferguson_at_hubbub.com.au>
Date: 2005-05-19 06:51:10 CEST

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

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.