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

Re: svn merge fails with "invalid XML"

From: <cmpilato_at_collab.net>
Date: 2002-08-21 08:39:12 CEST

Karl Fogel <kfogel@newton.ch.collab.net> writes:

> "Gerald Richter" <richter@ecos.de> writes:
> > I just started to use braches and wanted to make my first svn merge. I
> > didn't had success by only giving two arguments to merge, while it worked as
> > exptected when I give three arguments. This took me a while to figure out,
> > because the error message was about invalid XML. Since it works with three
> > args, that's no problem for me, I just want to report it, so maybe at least
> > there could be a little bit more informative error message. Here is the
> > commands I tried at their output (all with rev 2927)
>
> Yep, that's a bad error message :-)!
>
> Can you mention this in issue #785? I think it's relevant there (in
> that you would never have run into the bug had that issue been
> resolved).

I just got the same error message, again for merge. The bug with the
error message is not related to issue #785. Unless I'm reading
something wrong, it appears that a perfectly good error is being
thrown, but the last part of the REPORT *request* is being embedded in
the REPORT *response*. This, of course, looks like bad XML (um,
because it is). See my REPORT/response ethereal dump:

   REPORT /repos/svn/branches/issue-842-dev HTTP/1.1
   Host: svn.collab.net
   User-Agent: neon/0.22.0 SVN/0.14.1 (dev build)
   Connection: TE
   TE: trailers
   Content-Length: 205
   Content-Type: text/xml
   
   <S:update-report xmlns:S="svn:">
   <S:target-revision>3001</S:target-revision><S:dst-path>http://svn.collab.net/repos/svn/branches/issue-842-dev</S:dst-path><S:entry rev="2849"></S:entry>
   </S:update-report>

   HTTP/1.1 200 OK
   Date: Wed, 21 Aug 2002 06:06:37 GMT
   Server: Apache/2.0.40-dev (Unix) DAV/2 SVN/0.14.0 (dev build)
   Transfer-Encoding: chunked
   Content-Type: text/xml; charset="utf-8"
   
   </S:update-report>
   
   <?xml version="1.0" encoding="utf-8"?>
   <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
   <C:error/>
   <m:human-readable errcode="21069">
   file not found: transaction `84i', path `/branches/issue-842-dev'
   </m:human-readable>
   </D:error>

Note the extraneous </S:update-report> found in the response?
Badness. This should most likely be filed as a new issue against
mod_dav_svn, though perhaps its some APR buckets issue? Greg Stein,
got any guesses?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Aug 21 08:35:47 2002

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.