[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: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-12-18 07:04:41 CET

Martin Pool <mbp@samba.org> writes:
> % svn up
> svn: Incomplete data
> svn: Delta source ended unexpectedly
>
> I got an Ethereal capture of the transaction (for lack of anything
> better to do.) This is attached.
>
> If I extract and gunzip the response then it seems to be a complete
> XML file. (Also attached.)
>
> The same error occurs every time I try to update that wc. I've tried
> svn cleanup to no effect. I can send a tarball of the wc if you want.

Hmmmm. This can happen when a wcprop gets out of date.

Save that working copy somewhere.

Then, examine the version-resource-urls in .svn/wcprops/*. The format
is

   K <keylen>
   keystring
   V <valuelen>
   valuestring

so one property's name/value pair takes four lines. The file ends
with "END".

The values should be pretty self-explanatory. The question is, do
they match the committed-revs given in the .svn/entries file? If not,
you have out-of-date wcprops.

If you blow away the bad version-url wcprops, I'll bet the update
works.

As to *how* this happened, that's a good question.

> Using the same svn binary I can apparently get a new wc and then do an
> update in there with no trouble. I can also update to 4110, and then
> move forward to head with no trouble.
>
> So I think something must be wrong in that wc. I didn't change
> anything by hand, so possibly it's a svn bug that got it to this
> state.

Probably.

Working on issue #689 as fast as can... :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 18 07:45:19 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.