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

Re: Medium-term roadmap: 1.3, 1.4, 1.5.

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-29 15:07:16 CEST

On Apr 29, 2005, at 7:43 AM, Molle Bestefich wrote:
>> When *subversion* (i.e. the svn server libraries executed by
>> mod_dav_svn) throws an error, real error messages are marshalled to
>> the
>> client.
> Odd. Never seen that happen. New feature in 1.2?

Nope, since 1.0.

For example, if you try to commit a file that's out-of-date, the
repository generates a normal svn error, which is then marshalled back
to the client in a <D:error> tag. Here's an HTTP transcript:

CHECKOUT /svn/repos/!svn/ver/1/svn_version.h HTTP/1.1
Host: localhost
User-Agent: SVN/1.3.0 (dev build) neon/0.24.7
Connection: TE
TE: trailers
Content-Length: 184
Authorization: Basic c3Vzc21hbjpibG9ydA==

<?xml version="1.0" encoding="utf-8"?><D:checkout

HTTP/1.1 409 Conflict
Date: Fri, 29 Apr 2005 13:05:23 GMT
Server: Apache/2.0.54 (Unix) SVN/1.3.0-dev DAV/2
Content-Length: 444
Content-Type: text/xml; charset="utf-8"

<?xml version="1.0" encoding="utf-8"?>
<D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns"
<m:human-readable errcode="160024">
The version resource does not correspond to the resource within the
transaction. Either the requested version resource is out of date
(needs to be updated), or the requested version resource is newer than
the transaction root (restart the commit).

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Apr 29 15:09:56 2005

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