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

Re: First steps towards neon 0.8.0

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2000-12-16 08:12:53 CET

On Fri, 15 Dec 2000, Greg Stein wrote:

> We haven't even released the code yet :-) ... it's okay to force an upgrade
> to 0.8.0. That cuts this down to a one line patch in fetch.c :-)
>
> [ and a patch to autogen.sh ]
>
> There will also be changes to the http_request_dispatch() calls.

Well, if folks can be forced to upgrade then this simple
patch ought to do it.

Index: autogen.sh
===================================================================
RCS file: /cvs/subversion/autogen.sh,v
retrieving revision 1.27
diff -u -r1.27 autogen.sh
--- autogen.sh 2000/11/21 06:13:07 1.27
+++ autogen.sh 2000/12/16 07:10:12
@@ -57,7 +57,7 @@
 
 # Handle the neon/ subdir
 if [ ! -d neon ]; then
- neon_ver=0.7.7
+ neon_ver=0.8.0
   echo ""
   echo "You don't have a neon/ subdirectory here."
   echo "Please get neon $neon_ver from:"
Index: subversion/libsvn_ra_dav/commit.c
===================================================================
RCS file: /cvs/subversion/subversion/libsvn_ra_dav/commit.c,v
retrieving revision 1.20
diff -u -r1.20 commit.c
--- subversion/libsvn_ra_dav/commit.c 2000/12/14 13:53:03 1.20
+++ subversion/libsvn_ra_dav/commit.c 2000/12/16 07:10:12
@@ -93,7 +93,6 @@
 {
   http_req *req;
   int rv;
- http_status hstat;
 
   /* create/prep the request */
   req = http_request_create(ras->sess, "MKACTIVITY", url);
@@ -106,7 +105,7 @@
     }
 
   /* run the request and get the resulting status code. */
- rv = http_request_dispatch(req, &hstat);
+ rv = http_request_dispatch(req);
   if (rv != HTTP_OK)
     {
       /* ### need to be more sophisticated with reporting the failure */
@@ -116,7 +115,7 @@
                                rv, method, url);
     }
 
- *code = hstat.code;
+ *code = http_get_status(&req)->code;
 
   http_request_destroy(req);
 
Index: subversion/libsvn_ra_dav/fetch.c
===================================================================
RCS file: /cvs/subversion/subversion/libsvn_ra_dav/fetch.c,v
retrieving revision 1.26
diff -u -r1.26 fetch.c
--- subversion/libsvn_ra_dav/fetch.c 2000/12/01 04:25:25 1.26
+++ subversion/libsvn_ra_dav/fetch.c 2000/12/16 07:10:13
@@ -313,7 +313,7 @@
   dav_propfind_set_resource_handlers(fc->dph, start_resource, end_resource);
   hip = dav_propfind_get_parser(fc->dph);
 
- hip_xml_add_handler(hip, fetch_elems,
+ hip_xml_push_handler(hip, fetch_elems,
                       validate_element, start_element, end_element, fc);
 
   if (fc->activity_href == NULL)

cheers
Mo DeJong
Red Hat Inc
Received on Sat Oct 21 14:36:17 2006

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.