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

[PATCH] Issue #660: Add basic support for redirects to ra_dav

From: Daniel Westermann-Clark <dwc_at_tigris.org>
Date: 2006-07-22 23:23:50 CEST

Please excuse me if this has been discussed before; I checked the list
archives but didn't find anything.

Issue #660 (ra_dav should have some support for redirects) contains a
patch to provide improved an improved error message as suggested by
Mark Benedetto King:

http://subversion.tigris.org/issues/show_bug.cgi?id=660#desc5

Garrett Rooney subsequently updated the patch to build with neon 0.25
in addition to 0.24. I've attached the updated patch (against trunk)
for review.

[[
Patch by: Daniel Westermann-Clark <dwc@tigris.org>
          Garrett Rooney <rooneg@tigris.org>
Suggested by: Mark Benedetto King <mbk@tigris.org>

* subversion/include/svn_error_codes.h
  Add SVN_ERRDEF for moved/relocated repositories named
  SVN_ERR_RA_DAV_RELOCATED

* subversion/libsvn_ra_dav/util.c
  (parsed_request): For response status codes 301 and 302, provide an
  error message with the new location of the repository, based on the
  Location response header.
]]

-- 
Daniel Westermann-Clark


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sat Jul 22 23:24:13 2006

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