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

Re: Invalid diff stream

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2005-10-07 19:56:22 CEST

On 10/7/05, Clint Chapman <nospam.clint@clintchapman.com> wrote:
> I posted this to the users group but didn't get a response (I'm missing
> Ben already)

Stop! You're embarrassing me!

>
> I get the following error when I try to commit a large photoshop file
> after deleting a layer:
>
> -----------------------------------------------------------------------------------
> svn commit "Pos App & Acc.psd" -m "Removed layer"
> Sending Pos App & Acc.psd
> Transmitting file data .svn: Commit failed (details follow):
> svn: Invalid diff stream: [tgt] insn 4927 starts beyond the target view
> position
> -----------------------------------------------------------------------------------
>
> The client is 1.2.3 on windows and the server 1.2.0, apache 2.0.54, on
> windows.
>
> Any ideas what the problem might be? What other information might be
> useful?

Whenever you commit a file, the client sends a stream of binary-diff
data to the server. I can think of a couple of different
explanations:

   * your text-base cache of the file is corrupt, or has somehow been
tweaked to be slightly different than what's actually in the
repository

   * there's some network problem that corrupting the stream as it travels

Can you do a fresh checkout of just the parent directory, and run
'md5sum' on the text-base version of the file, and compare it to md5
of your old-working-copy's text-base?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 7 19:57:08 2005

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.