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

Re: svn up -r broken?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-03-23 19:14:35 CET

> hmmm - just noticed that on that revision (100) rapidsvn did not exist yet
> maybe that's why?

Ahhhh, *that's* the problem. If you update your working copy to a
revision where your working copy doesn't exist, then you get the xml
parse error. You can see an example below, using HEAD client and
server.

It's weird: mod_dav_svn is returning status 200 (OK), but there's an
detailed error message in the body ("file not found, revision N"). No
wonder there's an XML error... ra_dav isn't expecting to parse an
<error> tag on a 200 response.

Don't we already have an issue filed about this? Hmmmm....

REPORT /svn/gr1/boobah HTTP/1.1
Host: localhost
User-Agent: neon/0.23.8 SVN/0.20.0 (dev build)
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 121
Content-Type: text/xml
Accept-Encoding: gzip
Accept-Encoding: gzip
Authorization: Basic c3Vzc21hbjpibG9v

<S:update-report xmlns:S="svn:">
<S:target-revision>5</S:target-revision><S:entry rev="21"></S:entry>
</S:update-report>

HTTP/1.1 200 OK
Date: Sun, 23 Mar 2003 18:12:00 GMT
Server: Apache/2.0.44 (Unix) SVN/0.19.1+ DAV/2
Keep-Alive: timeout=15, max=99
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/xml; charset="utf-8"

f0
<?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="160013">
file not found: revision `5', path `/boobah'
</m:human-readable>
</D:error>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 23 19:15:24 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.