Please use paragraphs. Grigory Petrov wrote on Sat, Feb 19, 2011 at 18:08:36 +0300: > Hello. > > I'm learning a Subversion API right now and have following test code: > http://pastebin.com/rVQM7TpJ > The svn_client_ls() call correctly returns error code since i give a > wrong repository URL. But next call to svn_client_update3() ALWAYS > returns success (zero) regardless of arguments i supply :(.
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) > 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 > > Best, > Grigory.

