subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Neyman <sti...@att.net>
Subject Empty Index lines
Date Thu, 07 Dec 2017 23:50:18 GMT
Hi,

Is it possible to get rid of the lots of "Index:" headers in the output 
of the 'svn diff' where there is no actual difference between the files? 
I think this started with SVN 1.9 - 1.7 definitely did not do that, and 
neither did 1.8, as far as I remember.

For example, I copied Linux kernel from one path to another and now 'svn 
diff' shows the Index: line on each copied path, e.g.

$ svn di arch/x86 | head -20
Index: arch/x86/.gitignore
===================================================================
Index: arch/x86/Kbuild
===================================================================
Index: arch/x86/Kconfig
===================================================================
Index: arch/x86/Kconfig.cpu
===================================================================
Index: arch/x86/Kconfig.debug
===================================================================
Index: arch/x86/Makefile
===================================================================
Index: arch/x86/Makefile.um
===================================================================
Index: arch/x86/Makefile_32.cpu
===================================================================
Index: arch/x86/boot/.gitignore
===================================================================
Index: arch/x86/boot/Makefile
===================================================================
....

As you might imagine, this bloats the patch considerably and effectively 
makes it unreviwable.

There is no changes in all these files, except that there is a parent 
directory that were copied.

$ svn info .
Path: .
Working Copy Root Path: /home/aneyman/work/WC
URL: $REPO/$PATH/linux-generic
Relative URL: ^/$PATH/linux-generic
Repository Root: $REPO
Repository UUID: 12b7edc4-22db-4a73-a48b-88f3acc8629e
Revision: 14230
Node Kind: directory
Schedule: add
Copied From URL: $REPO/$ORIGINAL_PATH
Copied From Rev: 14230
Moved From: $ORIGINAL_PATH_IN_WC
Last Changed Author: aneyman
Last Changed Rev: 14227
Last Changed Date: 2017-12-05 16:40:55 -0800 (Tue, 05 Dec 2017)

How to make SVN not emit this garbage?

Regards,
Alexey.


Mime
View raw message