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

Re: svn exit/return/status codes

From: Peter Valdemar Mørch <swp5jhu02_at_sneakemail.com>
Date: 2004-08-26 00:54:35 CEST

bruce bedouglas-at-earthlink.net |Lists| wrote:
> however, i still don't know what valid error/status codes are. so how
> would i create an app that would know when it's received/generated an
> error!!!!

Generally, an exit code of 0 means "OK" and != 0 means "uhoh - we're in
dodo". Other than that, it gets completely application specific. Every
application is free to do as they like, but 0 conventionally means "OK".
Conventionally, not definitely.

I really don't know specifically about svn. But check for ==0 or !=0.
That should be sufficient, isn't it?

> i'm trying to find where the status/err codes for a given command
> line function would be located.... i was hoping that there was some
> form of 'error.h' that provided this kind of information...

There might be. See man <whatever>. It is simply not possible to be more
specific than that - it is an anarchy out there! (Thank God!)

Peter

-- 
Peter Valdemar Mørch
http://www.morch.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 26 00:54:55 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.