You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Olaf Hering <ol...@suse.de> on 2003/03/19 22:54:25 UTC

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

Hi,

 is it just me or did one of the recent changes break the 'svn log'
feature for svn:// repos?

olaf@smirnow:/tmp/ieee1394> svn info
Path: 
Url: svn://svn.linux1394.org/ieee1394
Revision: 846
Node Kind: directory
Schedule: normal
Last Changed Author: bencollins
Last Changed Rev: 846
Last Changed Date: 2003-03-19 20:19:33 +0100 (Wed, 19 Mar 2003)


this version works:
svn --version 
svn, version 0.17.1 (dev build)
revision 4877

This one does not show 'svn log':

svn --version
svn, version 0.19.1 (dev build)
   compiled Mar 19 2003, 20:43:02
Revision: 5394

I can svn co, svn diff, but svn log gives me:

olaf@smirnow:/tmp/ieee1394> svn log
svn: Malformed network data
svn: Malformed network data
olaf@smirnow:/tmp/ieee1394> 


Anyone else seeing this? I dont know what server version is used on
linux1394.org, but I would guess it is not the latest and greatest.



Gruss Olaf

-- 
USB is for mice, FireWire is for men!

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

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

Posted by Matt Kraai <kr...@alumni.cmu.edu>.
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

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

Posted by Ben Collins-Sussman <su...@collab.net>.
Philip Martin <ph...@codematters.co.uk> writes:

> Olaf Hering <ol...@suse.de> writes:
> 
> > is it just me or did one of the recent changes break the 'svn log'
> > feature for svn:// repos?
> 
> Revision 5371 changed both client and server.

A reminder to Michael Price:  in the release announcement, please
stress our new compatiblity policy.  :-)

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

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

Posted by Philip Martin <ph...@codematters.co.uk>.
Olaf Hering <ol...@suse.de> writes:

> is it just me or did one of the recent changes break the 'svn log'
> feature for svn:// repos?

Revision 5371 changed both client and server.

-- 
Philip Martin

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