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

Re: svn diff outputs whole content instead of changed parts on some files

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-17 07:49:10 CET

This means your line endings are probably messed up. It's an ASF
repository, so you must have run cvs2svn.py in the past to convert,
right?

Have you set 'svn:eol-style' to 'native' on the file? If so, does the
.svn/text-base/ version of the file have 100% LF line-endings as it
should?

On Nov 16, 2004, at 11:45 PM, Shinobu Kawai wrote:

>
> Hi,
>
> I've come across weird behaviour in svn diff.
>
> When I executed svn diff, instead of outputting just the changes, it
> outputs the whole old content removed and the whole old content added.
>
> You can reproduce this in the Jakarta-Velocity repository:
> svn co http://svn.apache.org/repos/asf/jakarta/velocity/trunk
> velocity
> cd velocity
> svn diff xdocs/developer-guide.xml (this outputs nothing)
> touch xdocs/developer-guide.xml
> svn diff xdocs/developer-guide.xml (this outputs the whole file
> removed and added)
>
> I have tested this with svn 1.1.1 on Win2K (command prompt & Cygwin)
> and
> svn 1.1.1 (from source) + RedHat.
>
> This only happens for some of the files, so I'm guessing it as a
> configuration problem.
>
> TIA.
>
> Best regards,
> -- Shinobu Kawai
>
> --
> Shinobu Kawai <shinobu.kawai@gmail.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 17 07:50:09 2004

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