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

Re: [PATCH] #1099 ra_svn needs to do checksumming too

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2003-02-03 00:58:26 CET

On Sun, 2003-02-02 at 18:44, Eric Gillespie wrote:
> + SVN_ERR(svn_ra_svn_write_cmd(b->conn, pool, "apply-textdelta", "ccc",
> + b->token,
> + (base_checksum ? base_checksum : ""),
> + (result_checksum ? result_checksum : "")));

  SVN_ERR(svn_ra_svn_write_cmd(b->conn, pool, "apply-textdelta", "c[c][c]",
                               b->token, base_checksum, result_checksum));

> + SVN_ERR(svn_ra_svn_parse_tuple(params, pool, "ccc", &token,
> + &base_checksum, &result_checksum));
> +
> + if (base_checksum[0] == '\0')
> + base_checksum = NULL;
> + if (result_checksum[0] == '\0')
> + result_checksum = NULL;
> +

  SVN_ERR(svn_ra_svn_parse_tuple(params, pool, "c[c][c]", &token,
                                 &base_checksum, &result_checksum));

Everything else looks good.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 3 01:11: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.