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

Re: strange diffs reported due to wc round-trip in zip

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 06 Mar 2008 11:56:00 -0500

David Glasser wrote:
> On Thu, Mar 6, 2008 at 5:00 AM, Richard Carlsson
> <richard.carlsson_at_iar.se> wrote:
>> We've seen some recent weirdness which seems to boil down
>> to the following:
>>
>> 1. A text-base file contains $Id:$, rather than $Id$
>> 2. The wc being zipped up, and then unzipped again.
>>
>> The result is that in the unzipped version of the wc (which is
>> otherwise identical to the original wc, according to diff/cmp),
>
> Can you clarify: when comparing the two wcs, byte-for-byte (including
> all .svn directories), what is the exact difference?

Does 'zip' preserve timestamps? Later in the mail, Richard says:

    The only differences between the two wc:s, as far as we can see,
    is in the file timestamps.

So, it sounds like a byte-for-byte comparison shows no differences, unless
you include the bytes associated with inodes and their timestamps.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2008-03-06 17:56:41 CET

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.