[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: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 20 Apr 2009 09:25:39 -0400

On Mon, Apr 20, 2009 at 09:08, Richard Stephens
<richard.stephens_at_lexisnexis.com> 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'll need to test with a more recent version of Subversion. 1.4.x is
no longer supported, so even if it is a bug, a fix against 1.4.2 won't
be published.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-20 15:26:37 CEST

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