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

RE: Ignore date changes to files

From: Mark Phippard <markp_at_softlanding.com>
Date: 2005-11-21 21:07:01 CET

Rob Brandt <bronto@csd-bes.net> wrote on 11/21/2005 02:47:22 PM:

> Quoting Mark Phippard <markp@softlanding.com>:
> > 1) Subversion then looks at the file size. If that has changed, then
> > considers the file as modified.
> >
> > 2) If the file size is still the same, then Subversion does a byte by
> > byte comparison of the two files to see if they are different.
> Is this really true? If I change an "a" to a "b", then the file size
> have changed, and the byte comparison wouldn't be done.

No, read what I wrote closer. The byte comparison WOULD be done because
the file date/time has changed. The point was that if the file size has
changed then Subversion can very quickly just say ahh yes, this file has
been modified. In general the byte comparison is something you do not
want to have happen if you can avoid it because it slows down all of the
status operations while they do the byte by byte compares. Of course the
compares do stop on the first difference, but if the files are really the
same, and large, it does hurt performance.


Scanned for SoftLanding Systems, Inc. and SoftLanding Europe Plc by IBM Email Security Management Services powered by MessageLabs.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 21 21:10:00 2005

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.