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

Re: Strange diffs after rsync copying of working copy

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 03 Feb 2012 14:22:03 +0000

Johan Holmberg <holmberg_at_iar.se> writes:

> On 02/03/2012 02:50 PM, Philip Martin wrote:
>>
>> I have now done some further experiments. I just issued commands like this:
>>
>> $ svn status # no modified files reported
>> Subversion is not doing a full text comparison because the timestamps
>> match. So the difference that is present is not reported.
>
> But this occurs right after a fresh "svn checkout". There can be no
> differences.

If a fresh checkout really produces a working file with the wrong
contents then that is a checkout bug, but it is nothing to do with
status. What sort of difference is present? Is it something to so with
svn:keywords or svn:eol-style?

> To be really sure, I saved the file before/after my "touch + svn
> status". The working copy file is identical before and after. But
> first it is reported as unmodified and then as modified.

That doesn't prove anything. The file is reported as unmodified because
the timestamps match. That does not mean that the file is unmodified.
It means that the timestamps match. The file could have modifications
at that stage. When the timestamps differ that modification becomes
visible.

-- 
Philip
Received on 2012-02-03 15:22:42 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.