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

Re: #774: [PATCH] avoid early exit when acting on some non-versioned files

From: Eric Gillespie <epg_at_pretzelnet.org>
Date: 2003-04-29 20:25:49 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> Looks good, except for the doc string thing, of course.

OK, i'll commit this after i get off of work, including the doc
string changes.

> I wonder, what if we had a variant of the SVN_ERR,
>
> SVN_ERR_GOTO(val, label)
>
> that jumped to `label' if val is non-NULL?

Either it would depend on the name of a function-scope variable
to store the error in (fine with me, but it doesn't seem like the
thing you'd go for) or you'd have to specify it in val like so:

    SVN_ERR_GOTO(err = svn_op(), out)

Which seems kinda redundant.

--
Eric Gillespie <*> epg@pretzelnet.org

Build a fire for a man, and he'll be warm for a day. Set a man on
fire, and he'll be warm for the rest of his life. -Terry Pratchett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 29 20:26:39 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.