[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: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-05-19 07:53:14 CEST

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 07:54:31 2005

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