You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Clint Chapman <no...@clintchapman.com> on 2005/10/07 12:33:32 UTC

Invalid diff stream

I posted this to the users group but didn't get a response (I'm missing 
Ben already)

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?

Thanks in advance,
Clint

-- 
Clint Chapman

Luminos Industries Ltd.
Phone: 613-225-7661
www.luminosindustries.com



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Invalid diff stream

Posted by Ben Collins-Sussman <su...@red-bean.com>.
On 10/7/05, Clint Chapman <no...@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