Package: subversion Version: 1.8.10-5 Severity: normal Contrary to the "diff" utility, "svn diff" outputs 2 chunks instead of 1 when there are 6 consecutive unmodified lines.
To reproduce the bug, create a file with "seq 14" and commit it. Then modify the lines 4 and 11 (e.g. add a "b" character). I get with Subversion's internal diff: $ svn diff Index: f =================================================================== --- f (revision 1) +++ f (working copy) @@ -1,7 +1,7 @@ 1 2 3 -4 +4b 5 6 7 @@ -8,7 +8,7 @@ 8 9 10 -11 +11b 12 13 14 while the "diff" command gives: $ svn --diff-cmd diff diff Index: f =================================================================== --- f (revision 1) +++ f (working copy) @@ -1,14 +1,14 @@ 1 2 3 -4 +4b 5 6 7 8 9 10 -11 +11b 12 13 14 -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages subversion depends on: ii libapr1 1.5.1-3 ii libaprutil1 1.5.4-1 ii libc6 2.19-14 ii libldap-2.4-2 2.4.40-3 ii libsasl2-2 2.1.26.dfsg1-12 ii libsvn1 1.8.10-5 subversion recommends no packages. Versions of packages subversion suggests: ii db5.3-util 5.3.28-9 ii patch 2.7.4-1 ii subversion-tools 1.8.10-5 -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

