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

Re: Forcing complete binary file comparison for checkin

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Sun, 03 Feb 2008 17:33:31 -0500

Blair Zajac <blair_at_orcaware.com> writes:
> Andy Levy wrote:
>> On Feb 3, 2008 1:49 AM, Sang Go <sanghgo_at_gmail.com> wrote:
>>> SVN does not seem to detect changes in binary files that have changed, but
>>> the file date, time, nor size has changed. This occurs when doing lossless
>>> rotation of JPEG images where the file date and time are forced to retain
>>> the original date and time.
>>
>> That's correct. SVN uses the date/time of the file as the primary
>> indication that the file has changed.
>
> I'm pretty sure that svn 1.5 will also check the file size.

Note that in this case, the sizes are also the same -- apparently, the
program in question just does stuff to regions inside the file,
without changing the file's size. (I think that's a common technique
for dealing with really big files: you just do seeks-and-writes for as
long as you can, and only after space usage gets really inefficient do
you do an expensive resizing.)

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-03 23:33:50 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.