There's a strange behaviour that is reproduced for some files in our
subversion repository: `touch`ing this file(s) makes `svn diff` show
entire file as changed. Similar happens when opening-saving file in
any text editor or copying it back and forth.
touch:
$ svn status cmVectorStream.h
$ touch cmVectorStream.h
$ svn status cmVectorStream.h
M cmVectorStream.h
copy-restore:
$ svn status cmVectorStream.h
$ cp cmVectorStream.h cmVectorStream.h.bak
$ cp cmVectorStream.h.bak cmVectorStream.h
$ svn status cmVectorStream.h
M cmVectorStream.h
$ diff cmVectorStream.h.bak cmVectorStream.h
<empty>
For the vast majority of files in a repo the above doesn't happen, so
far I've only encountered two such files. Since svn shows entire file
as changed it might be related to line endings however I don't see how
touch'ing file could possibly trigger such behaviour.
I'm running Ubuntu 14.04.1, both stock subersion (1.8.8) and the one
compiled from source (1.8.9 with only --with-serf option set) expose
similar behaviour. The repository itself is hosted on Windows machine.
Should I fill in a bug report on this?
Received on 2014-08-11 16:10:09 CEST