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

Re: svn log broken in svn:// repos with rev. 5394

From: Matt Kraai <kraai_at_alumni.cmu.edu>
Date: 2003-03-20 00:07:04 CET

On Wed, Mar 19, 2003 at 11:54:25PM +0100, Olaf Hering wrote:
> is it just me or did one of the recent changes break the 'svn log'
> feature for svn:// repos?

I changed the svn log message protocol in revision 5371. You'll
need to patch subversion/libsvn_ra_svn/client.c with the following
patch to talk to a pre-5371 svn server with a post-5371 client:

Index: client.c
===================================================================
--- client.c (revision 5371)
+++ client.c (revision 5370)
@@ -789,6 +789,9 @@
   SVN_ERR(svn_ra_svn_end_list(conn, pool));
   SVN_ERR(svn_ra_svn_end_list(conn, pool));
 
+ /* Read the response. */
+ SVN_ERR(svn_ra_svn_read_cmd_response(conn, pool, ""));
+
   /* Read the log messages. */
   subpool = svn_pool_create(pool);
   while (1)
@@ -829,10 +832,6 @@
       apr_pool_clear(subpool);
     }
   apr_pool_destroy(subpool);
-
- /* Read the response. */
- SVN_ERR(svn_ra_svn_read_cmd_response(conn, pool, ""));
-
   return SVN_NO_ERROR;
 }
 

Matt

-- 
Oink!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 20 00:07:45 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.