You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Dave Rodgman <da...@arm.com> on 2006/01/17 13:39:24 UTC

svn info exit status regression in 1.3.0

Hi all,

'svn info' on a non-existent URL gives an exit status of 1 in version
1.2.0 (as I would expect). In 1.3.0 the error message has been improved
(thanks, general error message improvement is a real benefit), but the
exit status is now 0.

Is this intentional? Should I file a bug report?

Thanks

Dave

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: svn info exit status regression in 1.3.0

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 17 Jan 2006, Dave Rodgman wrote:

> 'svn info' on a non-existent URL gives an exit status of 1 in version
> 1.2.0 (as I would expect). In 1.3.0 the error message has been improved
> (thanks, general error message improvement is a real benefit), but the
> exit status is now 0.
>
The error was made non-fatal, i.e. into something like a warning and if
you give the info command multiple targets, then you'll see that it
continues even if a target doesn't exist.

We had this discussion before and the concensus seemed to be that even
warnings should produce a non-zero exit code.

 > Is this intentional? Should I file a bug report?
>
I don't remember if there is a general issue for this, but if you don't
find one, it would be great if you file an issue, pointing to this thread.
(I might point to earlier discussions later if I find them.)

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: svn info exit status regression in 1.3.0

Posted by Dave Rodgman <da...@arm.com>.
> Dave Rodgman wrote:
> > Hi all,
> > 
> > 'svn info' on a non-existent URL gives an exit status of 1 in version
> > 1.2.0 (as I would expect). In 1.3.0 the error message has been improved
> > (thanks, general error message improvement is a real benefit), but the
> > exit status is now 0.
> > 
> > Is this intentional? Should I file a bug report?
> 
> Definitely a bug - thanks, please go ahead and file an issue.

Found an existing issue: 2414. Added a reference to this discussion.

http://subversion.tigris.org/issues/show_bug.cgi?id=2414

Dave

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org


Re: svn info exit status regression in 1.3.0

Posted by Max Bowsher <ma...@ukf.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dave Rodgman wrote:
> Hi all,
> 
> 'svn info' on a non-existent URL gives an exit status of 1 in version
> 1.2.0 (as I would expect). In 1.3.0 the error message has been improved
> (thanks, general error message improvement is a real benefit), but the
> exit status is now 0.
> 
> Is this intentional? Should I file a bug report?

Definitely a bug - thanks, please go ahead and file an issue.

Max.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDzRmxfFNSmcDyxYARAhC5AJ4h2zuzq1GwO1jLxV4LKrSfc7ezSgCeK0iF
MkSw4YAGxznpaDY/RbtbKf4=
=ib6h
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org