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

Re: svn commit: rev 6696 - in trunk/subversion: libsvn_ra_svn svnserve

From: mark benedetto king <mbk_at_lowlatency.com>
Date: 2003-08-10 22:28:15 CEST

On Sun, Aug 10, 2003 at 04:20:39PM -0400, Greg Hudson wrote:
> On Sun, 2003-08-10 at 16:08, mbk@tigris.org wrote:
> > - svn_boolean_t aborted;
> > + svn_boolean_t aborted = TRUE;
>
> That doesn't look right. If svn_ra_svn_drive_editor() is returning
> successfully without setting aborted one way or the other, that's a bug;
> we shouldn't compensate for it in the caller. (If
> svn_ra_svn_drive_editor() returns an error, we never use the value of
> aborted.)
>

Yes, I thought about that as soon as I had actually committed the
change.

The reason why svn_ra_svn_drive_editor is returning success even though
aborted hasn't been set one way or the other is that svn_ra_svn_handle_commands
is eating the error (it's a CMD_ERR thrown from ra_svn_handle_close_edit).

--ben

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 10 22:29:22 2003

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.