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

Inconsistency handling binary files

From: Assaf Berg <assaf.berg_at_gmail.com>
Date: 2005-07-06 15:10:54 CEST

It seems like changes to binary files without changing the modification time
of the file will not be detected by svn diff or even svn status and svn
update commands (i'm using subversion v1.1.3). This can happen when you copy
files around, which preserves their timestamps by default. Only after
'touch'-ing the file I can see it has changed and am able to commit it.
Aside of all of this being annoying it is also confusing because when
migrating from CVS to SVN you notice that text files are no longer marked as
changed only because their timestamp changed. You realize that subversion
decides a file is changed by examining its contents, therefore confusion
arises in the case I described above of changing a binary file. I would
expect it to behave in the same way...

Thanks,
Assaf Berg
Received on Wed Jul 6 18:20:28 2005

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