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

Re: svn client has inconsistent returnstatus for non-existing local files

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 21 Sep 2010 00:01:53 +0200

Sjon Hortensius wrote on Thu, Sep 16, 2010 at 17:04:19 +0200:
> LS,
>
> Please advise if this is a bug, or a known feature. I have a local
> checkout on which I can execute svn commands. However, there seems to
> be some inconsistency in the exitcode of the client.
>
> `svn ls repository/non-existing` exits with status 1, and so does `svn
> info repository/non-existing`. However, `svn ls
> repository/non-existing` has exit-status 0, although it echo's a "svn:
> warning: "
>

Using trunk, both 'ls' and 'info' return non-zero, for both URLs and
paths under local working copies. (But you said 'svn ls' twice; was
that a typo?)

> Is this a (known) bug? Can I post this issue on the bugtracker?
>

If 'svn' reports an error that cannot be detected by a calling script,
then please post an issue.

> Thanks,
>
> Sjon Hortensius
Received on 2010-09-21 00:05:16 CEST

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