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

Re: export command not reporting any problem with nonexistent url?

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 21 Apr 2009 07:07:45 -0500

On Apr 20, 2009, at 08:08, Richard Stephens wrote:

> I am using SVN 1.4.2 on a Linux system. I have a script that is
> attempting to check the return code from an svn export command like
> the following:
>
> svn --username username --password password export https://
> this.is.the.svn.url/project_name/tags/dev/nonexistent_tag ./
> project_name
>
> In this case, I _know_ that the tag directory I have named DOES NOT
> EXIST in the repository, yet the “svn export” command not only
> returns 0 as the return code, it also does not even report that the
> directory doesn’t exist. I just get the output “Export complete.”,
> and a 0 for exit code, as though the command completed successfully.
>
> When I first started testing my export script against this same
> repository, it would report the nonexistent directory and return a
> nonzero exit code. Now it doesn’t. Is this a bug? A problem with
> my repository? Or is is some kind of setting change made on the
> SVN server that could have caused this?

You should upgrade your Subversion. I am unable to reproduce this
problem with svn 1.6.1 on Mac OS X:

$ svn export http://svn.collab.net/repos/svn/nonexist
svn: URL 'http://svn.collab.net/repos/svn/nonexist' doesn't exist
$

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1842424

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-21 14:09:09 CEST

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