[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: Richard Stephens <richard.stephens_at_lexisnexis.com>
Date: Tue, 21 Apr 2009 08:11:47 -0400

Thanks for the heads-up. I have tried it with the 1.56 client (our
server is v1.5.0) and it seems to be working correctly with that client
version.

Thanks,
Rich S.

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009a_at_ryandesign.com]
Sent: Tuesday, April 21, 2009 8:08 AM
To: Richard Stephens
Cc: users_at_subversion.tigris.org
Subject: Re: export command not reporting any problem with nonexistent
url?

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
$

-----------------------------------------
The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-21 14:13:10 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.