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

Re: Document return codes of 'svn ls'

From: anatoly techtonik <techtonik_at_gmail.com>
Date: Tue, 25 Jan 2011 21:27:09 +0200

On Tue, Jan 25, 2011 at 8:47 PM, Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:
> anatoly techtonik wrote on Fri, Jan 21, 2011 at 13:42:51 +0200:
>> No. Internet connection may be down during this specific request. How can I
>> distinguish these two errors?
>
> How about something like this:
>
> % svn $subcommand --options --output-apr_err-to-stderr 2>&1 >/dev/null | tail -n1
> apr_err=210005

Doesn't work. Is it because I am on Windows?
> svn info path_at_X --options --output-apr_err-to-stderr
svn.EXE: invalid option: --options

> svn info path_at_X --config-option --output-apr_err-to-stderr
svn: Invalid syntax of argument of --config-option

I couldn't find any 'arp_err' references in svn binary code at all.

-- 
anatoly t.
Received on 2011-01-25 20:28:05 CET

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