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

RE: Unknown command check-path

From: William Ferguson <william.ferguson_at_hubbub.com.au>
Date: 2005-05-19 08:09:39 CEST

Thanks Greg,

BTW can you tell me what the 'config' paramater in svn_ra_plugin_t->open
represents?
The docs list it as :

config is a hash mapping const char * keys to svn_config_t * values. For
example, the svn_config_t for the "~/.subversion/config" file is under the
key "config".

But that doesn't mean anything to me.
I'm supplying a NULL value at the moment which seems to work OK, but I don't
know what ramifications it might have.

William

-----Original Message-----
From: Greg Hudson [mailto:ghudson@MIT.EDU]
Sent: Thursday, 19 May 2005 3:53 PM
To: William Ferguson
Cc: 'dev@subversion.tigris.org'
Subject: Re: Unknown command check-path

On Thu, 2005-05-19 at 14:51 +1000, William Ferguson wrote:
> Is it invalid to call ->check_path once a commit_editor has been
retrieved?

Yes; from the svn_ra_get_commit_editor doc string:

 * The caller may not perform any RA operations using @a session before
 * finishing the edit.

> 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?

You could open a second session, or you could just wait to see if the
whole transaction fails. If you send file data last (as the svn commit
editor does), the transaction should fail before you spend a long time
on it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 19 08:11:17 2005

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