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

Re: "svn status -u" doesn't report failure to connect to repository via DAV

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-09-17 22:37:59 CEST

----- Original Message -----
From: "Julian Foad" <julianfoad@btopenworld.com>
[snip]
>
> If it can't contact the repository because my PPP session is not
connected, the error stack is:
>
> svn: RA layer request failed
> svn: PROPFIND request failed on '/repos/svn/trunk/doc/book/book/tmp'
> svn: PROPFIND of '/repos/svn/trunk/doc/book/book/tmp': Could not resolve
hostname `svn.collab.net': Host not found (http://svn.collab.net)
>
> If it does contact the repository, but the item does not exist in the
repository, the error stack is:
>
> svn: HTTP Path Not Found
> svn: PROPFIND request failed on
'/repos/svn/!svn/bc/7078/trunk/doc/book/book/tmp'
> svn: '/repos/svn/!svn/bc/7078/trunk/doc/book/book/tmp' path not found
>
> This patch seems like an appropriate fix:
>
> [[[
> Prevent "svn status -u" from silently ignoring comms errors.
>
> * subversion/libsvn_ra_dav/props.c
> (svn_ra_dav__do_check_path) Report "svn_node_none" only if the error was
> SVN_ERR_RA_DAV_PATH_NOT_FOUND; for other errors, propagate the error.
> ]]]

This would also fix issue 1506!
http://subversion.tigris.org/issues/show_bug.cgi?id=1506

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 17 22:38:53 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.