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

Re: [Issue 1160] Changed - svnserve crashes while client is doing a merge

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-03-27 01:01:11 CET

On Wed, 2003-03-26 at 17:01, Matt Kraai wrote:
>
> > - SVN_ERR(svn_ra_svn_write_cstring(conn, pool, hex_digest));
> > + SVN_ERR(svn_ra_svn_write_tuple(conn, pool, "(?c)", hex_digest));

Hm, that would work, but for consistency, I think it's best not to mix
write_tuple with the expanded-out style of writing things. (Sorry, I
didn't realize the sending code didn't use the format strings--it's one
of those few cases where we have to send something like a property list
which the formatting functions can't do.)

Replace that one line with these four:

  SVN_ERR(svn_ra_svn_start_list(conn, pool));
  if (hex_digest)
    SVN_ERR(svn_ra_svn_write_cstring(conn, pool, hex_digest));
  SVN_ERR(svn_ra_svn_end_list(conn, pool));

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 27 01:01: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.