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

Re: Update of missing on non-working directory

From: Andy Levy <andy.levy_at_gmail.com>
Date: Wed, 12 May 2010 09:28:42 -0400

On Wed, May 12, 2010 at 09:23, Vadym Chepkov <vchepkov_at_gmail.com> wrote:
> Hi,
>
> I think the exit code subversion returns isn't right, it should indicate an error
>
> $ svn --version
> svn, version 1.6.11 (r934486)
>
>
> $ svn update /blah-blah
> Skipped '/blah-blah'
> $ echo $?
> 0
>
> $ svn update /etc
> Skipped '/etc'
> $ echo $?
> 0

Why? The command executed successfully and reported what it did.
Skipping something which is not a working copy isn't a program error;
attempting to update a something which is not a WC is a user error.
Received on 2010-05-12 15:29:36 CEST

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

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