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

Re: Error messages for non-svn URLs are cryptic

From: <kfogel_at_collab.net>
Date: 2004-12-10 22:04:49 CET

Wilfredo Sánchez <wsanchez@apple.com> writes:
> I accidentally gave someone the wrong URL and they got errors which
> confused the hell out of them. A couple of examples follow.

If these aren't already part of issue #1254, then could you add them?

Thanks,
-Karl

> Attempt to check out a plain HTTP URL:
>
> [pucca:/tmp] wsanchez% svn co http://foo.apple.com/foo/bar
> subversion/libsvn_ra_dav/util.c:670: (apr_err=175002)
> svn: PROPFIND request failed on '/foo/bar'
> subversion/libsvn_ra_dav/util.c:294: (apr_err=175002)
> svn: PROPFIND of '/foo/bar': 405 Method Not Allowed
> (http://foo.apple.com)
>
> Attempt to check out a WebDAV URL:
>
> [pucca:/tmp] wsanchez% svn co http://foo.apple.com/dav/
> subversion/libsvn_ra_dav/util.c:670: (apr_err=175002)
> svn: PROPFIND request failed on '/dav'
> subversion/libsvn_ra_dav/util.c:294: (apr_err=175002)
> svn: PROPFIND of '/dav': 301 Moved Permanently (http://foo.apple.com)
>
> These make sense to svn developers, and might make sense to the
> repository admins and maybe web server admins using subversion, but
> they don't really tell you the obvious thing: the provided URL is not
> a URL to a Subversion repository.
>
> The first error (405) is pretty clear to a web admin; I screwed up
> the access controls. The second is the one that happened in our case
> and it threw me for a loop until I realized that it was the wrong URL.
>
> Perhaps these could be made clearer.
>
> -wsv

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 10 22:06:21 2004

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