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

Re: bug? "Delta source ended unexpectedly"

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-12-18 21:00:26 CET

Philip Martin <philip@codematters.co.uk> writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
>
> > Can anyone else reproduce besides me?
>
> $ mv hook-scripts/ hook-scripts-keep
> $ svn up
> A hook-scripts
> A hook-scripts/commit-access-control.pl
> A hook-scripts/mailer.py
> A hook-scripts/svnperms.py
> A hook-scripts/propchange-email.pl
> A hook-scripts/commit-email.pl
> A hook-scripts/mailer.conf.example
> A hook-scripts/svnperms.conf.example
> A hook-scripts/README
> A hook-scripts/commit-access-control.cfg.example
> Updated to revision 4156.
> $ cat hook-scripts/.svn/wcprops/propchange-email.pl.svn-work
> K 25
> svn:wc:ra_dav:version-url
> V 65
> /repos/svn/!svn/ver/3765/trunk/tools/hook-scripts/commit-email.pl
> END
>
> That's broken :-(

Now I don't pretend to understand all this HTTP/DAV stuff but by
switching on neon HTTP debugging it appears to be a server problem,
not a client one. The client does

GET /repos/svn/!svn/ver/4111/trunk/tools/hook-scripts/propchange-email.pl

and gets the body of the file, and then the client does

PROPFIND /repos/svn/!svn/ver/4111/trunk/tools/hook-scripts/propchange-email.pl

and in response the servers sends

[status-line] < HTTP/1.1 207 Multi-Status
[hdr] Date: Wed, 18 Dec 2002 19:20:04 GMT
Header Name: [date], Value: [Wed, 18 Dec 2002 19:20:04 GMT]
[hdr] Server: Apache/2.0.44-dev (Unix) mod_ssl/2.0.44-dev OpenSSL/0.9.6 DAV/2 SV
N/0.14.5 (dev build)
Header Name: [server], Value: [Apache/2.0.44-dev (Unix) mod_ssl/2.0.44-dev OpenS
SL/0.9.6 DAV/2 SVN/0.14.5 (dev build)]
[hdr] Content-Length: 1253
Header Name: [content-length], Value: [1253]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
Reading 1253 bytes of response body.
Got 1223 bytes.
Read block (1223 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:">
<D:response xmlns:S="svn:" xmlns:C="svn:custom:" xmlns:lp4="svn:" xmlns:lp1="DAV
:" xmlns:lp3="http://subversion.tigris.org/xmlns/dav/" xmlns:lp2="http://apache.
org/dav/props/">
<D:href>/repos/svn/!svn/bln/4111</D:href>
<D:propstat>
<D:prop>
<S:entry:last-author>blair</S:entry:last-author>
<S:wc:ra_dav:version-url>/repos/svn/!svn/ver/3765/trunk/tools/hook-scripts/commi
t-email.pl</S:wc:ra_dav:version-url>
<S:executable>on</S:executable>
<S:keywords>HeadURL LastChangedBy LastChangedDate LastChangedRevision</S:keyword
s>
<S:entry:committed-rev>3765</S:entry:committed-rev>
<S:entry:committed-date>2002-11-12T20:13:12.742465Z</S:entry:committed-date>
<lp1:resourcetype/>
<lp1:getcontentlength>14131</lp1:getcontentlength>
<lp1:getcontenttype>text/plain</lp1:getcontenttype>
<lp1:getetag>"4111//trunk/tools/hook-scripts/propchange-email.pl"</lp1:getetag>
<lp1:creationdate>2002-12-13T01:28:02.344831Z</lp1:creationdate>
<lp1:getlastmodified>Fri, 13 Dec 2002 01:28:02 GMT</lp1:getlastmodified>
<lp1:version-name>4111</lp1:version-name>
<lp1:creator-displayname>blair</lp1:creator-displayname>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<]

Note the server response includes a version-url of

/repos/svn/!svn/ver/3765/trunk/tools/hook-scripts/commit-email.pl

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 18 21:01:11 2002

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