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

Re: Why svn_client_update3() always return success?

From: Grigory Petrov <grigory.v.p_at_gmail.com>
Date: Sat, 19 Feb 2011 19:16:52 +0300

> When ./ is a working copy, 'svn up nonexistentpath' returns zero
> because, if that path had been added between BASE and HEAD, it would
> create that file in the wc.
> Outside a working copy it should signal an error. (currently
> outside of a working copy it generates a "Skip" notification)
I have compiled and executed test outside of any working copy (./ is not
a working copy) - same effect, no error :(.
>> Maybe some experience Subversion developer can hint me what i'm doing
>> wrong? The sample code is compile with QtCreator C++ IDE on MacOS
>> X 10.6, subversion library is installed via macports. I don't know
>> what version it is since where is no version in svn_client.h file, but
>> according to macports website it must be 1.6.5.
> svn_version.h
It's 1.6.15 O_O

Received on 2011-02-19 17:17:39 CET

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