Eric Gillespie <epg_at_pretzelnet.org> writes:
> Karl Fogel <kfogel_at_red-bean.com> writes:
>> We definitely should continue the loop even in case of error, so we try
>> every target. But when we do exit, should it be a non-zero exit code if
>> any target received an error? Currently, we exit with zero.
>
> If svn didn't successfully complete every task I gave it, it
> should not exit zero. Note that this may be my fault ;->; I
> remember making some of these commands warn and continue many
> years ago...
>
>> There may be precedents for this sort of situation, and if there are,
>> Subversion should follow them. But I don't know what they are. Does
>> anyone else?
>
> 0 ~% ls notexist .zshrc
> ls: notexist: No such file or directory
> .zshrc
> 2 ~% ls .zshrc
> .zshrc
>
> The '2' in my prompt is the exit code from ls.
Okay. Patch undergoing 'make check' right now.
> [Aside: Karl, your Mail-followup-to field is broken; it lists
> only the users list.]
Well, the way it gets set is complicated, but yes, in that instance it
was "broken" because I was following up to a users@ post but then
cross-posting my reply to dev@. It's fine in this reply, though.
Thanks for noticing.
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-20 20:25:57 CEST