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

Re: Using md5sum for svn status

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-04-27 04:16:04 CEST

Mark Phippard <MarkP@softlanding.com> writes:

>> To discover that there is some difference between two files, you must
>> read, on average, halfway through both files -- once you encounter a
>> mismatch, you can stop. (This why Unix 'diff' and 'cmp' are not the
>> same thing.)
>
> Your answer seems to assume that once we reach this case that finding
> differences is what we would expect. Is that really the case?

In some cases it's true, in others it's false.

> If the
> timestamps differ, but the sizes are the same I would expect that more
> often than not something modified the timestamp but the files are still the
> same.

Are you aware that "broken" timestamps get "fixed" by operations which
both take a write lock and check timestamps? That means that anyone
using commit, cleanup or revert will generally not have broken
timestamps.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 27 04:17:10 2005

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

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