[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:57:22 CEST

Justin Erenkrantz <jerenkrantz@apache.org> writes:

> On Wed, Aug 21, 2002 at 01:39:12AM -0500, cmpilato@collab.net wrote:
> > 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"
>
> An issue is that your SVN server and client seem to be out-of-sync
> (one says 0.14.1 and other says 0.14.0). But, more importantly,
> you're not using HEAD of httpd-2.0. We're at 2.0.41-dev now.
>
> Can you please update to HEAD of the httpd-2.0 and try again?

Um...no. See, "my server" is running on svn.collab.net... :-)

> If that doesn't work, can you post a repro case? -- justin

Sure, this is easy.

Take a repos with a /trunk, and branch of that trunk made at revision X.
Now, take a working copy of that repos's trunk, and do:

   svn merge -r W:HEAD http://path/to/repos/branch/the_branch

where W is X-1 (prior to the creation of the branch). I just
reproduced this locally (though, again, my first encounter was with
our Subversion repos), where I'm running up-to-date client and server
code.

   svn merge -r 4:HEAD http://localhost/repos/test/tags/mytag .
   subversion/libsvn_ra_dav/util.c:332: (apr_err=175002, src_err=0)
   svn: RA layer request failed
   svn: REPORT request failed on /repos/test/tags/mytag
   subversion/libsvn_ra_dav/util.c:316: (apr_err=175002, src_err=0)
   svn: The REPORT request returned invalid XML in the response: XML
     parse error at line 1: xmlParseStartTag: invalid element name
   .. (/repos/test/tags/mytag)

---------------------------------------------------------------------
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:54:03 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.