You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by da...@fastmail.co.uk on 2008/07/31 13:05:20 UTC

ls exit status under serf

Hi,

using serf, svn 1.5.1 seems to behave incorrectly when doing an ls on a
non-existent path:

with neon:

svn ls http://svn.collab.net/repos/svn/trunk/non-existent
svn: URL 'http://svn.collab.net/repos/svn/trunk/non-existent'
non-existent in that revision
$ echo $?
1

with serf:

$ svn list http://svn.collab.net/repos/svn/trunk/non-existent
$ echo $?
0

I'll raise an issue if no-one objects?

Dave
-- 
  
  dave_rodgman@fastmail.co.uk


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

Re: ls exit status under serf

Posted by Mark Phippard <ma...@gmail.com>.
On Thu, Jul 31, 2008 at 9:05 AM,  <da...@fastmail.co.uk> wrote:

> using serf, svn 1.5.1 seems to behave incorrectly when doing an ls on a
> non-existent path:
>
> with neon:
>
> svn ls http://svn.collab.net/repos/svn/trunk/non-existent
> svn: URL 'http://svn.collab.net/repos/svn/trunk/non-existent'
> non-existent in that revision
> $ echo $?
> 1
>
> with serf:
>
> $ svn list http://svn.collab.net/repos/svn/trunk/non-existent
> $ echo $?
> 0
>
> I'll raise an issue if no-one objects?

I believe this is already fixed.  It has even been in the proposed
list of backports since pre-1.5.  It just has not made it into the
branch yet.  There is a new backports branch that fixes a bunch of
Serf issues that should make it into 1.5.2:

http://svn.collab.net/repos/svn/branches/1.5.x/STATUS

-- 
Thanks

Mark Phippard
http://markphip.blogspot.com/

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