[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 25 Jan 2011 20:47:03 +0200

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
Received on 2011-01-25 19:51:40 CET

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

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