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

Re: svn commit: rev 1471 - trunk/subversion/mod_dav_svn

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-03-09 10:51:03 CET

Earlier versions of Neon would chew up the leading whitespace. Now that
we've upgraded, it retains all the whitespace that comes over the wire.
Thus, we're seeing problems :-)

Cheers,
-g

On Fri, Mar 08, 2002 at 04:31:10PM -0600, sussman@tigris.org wrote:
> Author: sussman
> Date: 2002-03-08 22:30 GMT
> New Revision: 1471
>
> Modified:
> trunk/subversion/mod_dav_svn/deadprops.c
> Log:
>
> Fix proptest.py test 3 failing over ra_dav.
>
> This is really weird; why have we never seen this problem before?
> We've been receiving unmangled props from svn.collab.net for a long
> time, and we always build httpd with --enable-maintainer-mode on the
> server.
>
> * deadprops.c (dav_svn_db_output_value): the extra DEBUG_CR was being
> sucked up as the cdata value of the property, so then ra_dav was
> pushing bogus property values into the wc.
>
> Modified: trunk/subversion/mod_dav_svn/deadprops.c
> ==============================================================================
> --- OLD/trunk/subversion/mod_dav_svn/deadprops.c Fri Mar 8 16:30:59 2002
> +++ NEW/trunk/subversion/mod_dav_svn/deadprops.c Fri Mar 8 16:30:59 2002
> @@ -241,7 +241,7 @@
> {
> /* add <prefix:name>value</prefix:name> */
>
> - s = apr_psprintf(db->p, "<%s%s>" DEBUG_CR, prefix, name->name);
> + s = apr_psprintf(db->p, "<%s%s>", prefix, name->name);
> apr_text_append(db->p, phdr, s);
>
> /* the value is in our pool which means it has the right lifetime. */
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: svn-help@subversion.tigris.org

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 9 10:49:02 2002

This is an archived mail posted to the Subversion Dev mailing list.