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

Re: [PATCH] show hook errors on client side

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2002-09-03 00:22:34 CEST

Hi Philip!

> > + SVN_ERR (run_hook_cmd ("post-commit", hook, args, FALSE, pool));
> Why did you choose to ignore post-commit errors? I suppose it's so
> that the client carries out the post-commit processing and doesn't
> abort. I think it would be better to define a specific error for this

Indeed. It wasn't checking errors before, so I've just used the same

> case, return that instead of SVN_ERR_REPOS_HOOK_FAILURE, and get the
> client to detect it, print the error message (svn_handle_error with
> FATAL set FALSE probably) and continue.

I must confess I'm not sure how to do that. Is it possible to use
dav_svn_convert_err() in a non-fatal way?

Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 3 00:23:28 2002

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.